欢迎使用CSDN-markdown编辑器

安装n报错

直接看报错信息:

Lizh@LIZH-PC /F/src/vuejs/vuewebpack (master)
$ npm install -g n
npm http GET https://registry.npm.taobao.org/n
npm http 200 https://registry.npm.taobao.org/n
npm http GET https://registry.npm.taobao.org/n/download/n-2.1.7.tgz
npm http 200 https://registry.npm.taobao.org/n/download/n-2.1.7.tgz
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: n@2.1
.7
npm ERR! notsup Valid OS:    !win32
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   win32
npm ERR! notsup Actual Arch: x64

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "d:\\Program Files\\nodejs\\node.exe" "d:\\Program Files\\nodej
s\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "n"
npm ERR! cwd f:\src\vuejs\vuewebpack
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! code EBADPLATFORM
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     f:\src\vuejs\vuewebpack\npm-debug.log
npm ERR! not ok code 0

报错提示:支持非win32的操作系统,而我使用的操作系统为window。

你可能感兴趣的:(npm)