- 我在命令行执行 npm install -g n
- 出现:
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for n@2.1.12: wanted {"os":"!win32","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS: !win32
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersdallAppDataRoamingnpm-cache_logs2018-06-29T06_16_04_239Z-debug.log - 如何解决?