0
我得到這個錯誤,而安裝Angular2NPM安裝誤差角2
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "angular-cli"
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:\angular2-demo\npm-debug.log
如何解決這個
確實有安裝在系統 –
最新的節點@RahulSingh它看起來像'NPM v4.0.5'和'節點v7.4.0' –
但角度工作,我想你需要上面的版本6或7 –