我直接在命令行输入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平台
添加回答
举报
0/150
提交
取消