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

nodejs用代码更新版本出现问题

nodejs用代码更新版本出现问题

温温酱 2018-09-20 16:09:08
我直接在命令行输入npm install -g n一直报这种错误npm ERR! Windows_NT 6.1.7601npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "n"npm ERR! node v4.6.1npm ERR! npm  v2.15.9npm ERR! code EBADPLATFORMnpm ERR! notsup Unsupportednpm ERR! notsup Not compatible with your operating system or architecture: n@2.1.4npm 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:\Users\wuzh\npm-debug.log求解???
查看完整描述

1 回答

?
萧十郎

TA贡献1815条经验 获得超13个赞

Unfortunately n is not supported on Windows yet. If you're able to make it work, send in a pull request!

n不支持win平台


查看完整回答
反对 回复 2018-10-31
  • 1 回答
  • 0 关注
  • 806 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
微信客服

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

帮助反馈 APP下载

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

公众号

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