【发布时间】:2015-10-22 13:40:30
【问题描述】:
我正在尝试使用以下命令更新我的节点
npm cache clean -f
npm install -g n
n stable
运行第二个命令时出现以下错误
npm ERR! Windows_NT 6.3.9600
npm 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 v0.12.0
npm ERR! npm v2.5.1
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: n@2.0.2
npm ERR! notsup Valid OS: !win32
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64
【问题讨论】:
标签: node.js