0
我想在cmd
,并用命令npm install -g cordova ionic
我收到以下错误,安装使用npm
科尔多瓦离子安装科尔多瓦离子:无法使用NPM
C:\Users\Asus>npm install -g cordova ionic
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "cordova" "ionic"
npm ERR! node v7.4.0
npm ERR! npm v4.0.5
npm ERR! Cannot read property 'path' of null
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Asus\npm-debug.log
注意 :我已经预先安装了android sdk,winant,git,nodejs。 我该怎么办?您的帮助将受到高度赞赏。
运行CMD作为管理员没有help.Still给出了同样的错误! –