Reputation: 519
I am trying to install cordova ionic using npm
in cmd
and with the command npm install -g cordova ionic
I am getting following errors:
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
Note: I have pre installed android sdk,winant,git,nodejs. What should I do?
Upvotes: 0
Views: 69