为了账号安全,请及时绑定邮箱和手机立即绑定

npm install -g n 报错

npm install -g n 报错

ITMISS 2018-11-13 13:37:19
为了更新nodejs安装n模块,但是报了如下错误,这是为什么呢?C:\Windows\System32>npm i -g nnpm ERR! Windows_NT 6.1.7601npm ERR! argv "C:\\node.exe" "C:\\node_modules\\npm\\bin\\npm-cli.js" "i" "-g"n"npm ERR! node v6.11.0npm ERR! npm  v3.10.10npm ERR! code EBADPLATFORMnpm ERR! notsup Unsupported platform for n@2.1.7: wanted {"os":"!win32","arch":any"} (current: {"os":"win32","arch":"x64"})npm ERR! notsup Valid OS:    !win32npm ERR! notsup Valid Arch:  anynpm ERR! notsup Actual OS:   win32npm ERR! notsup Actual Arch: x64npm ERR! Please include the following file with any support request:npm ERR!     C:\Windows\System32\npm-debug.log
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 4262 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号