0
votes

Can some one help me? I'm trying to install NativeScript on my Windows 7, I'm having below errors:

npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\nt17127\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "-g" "nativescrip t" npm ERR! node v4.4.5 npm ERR! npm v3.10.2

npm ERR! Cannot read property 'emit' of null npm ERR!

1

1 Answers

0
votes

You can try the following:

  • npm cache clean
  • npm remove -g nativescript
  • npm remove -g nativescript (yes twice)
  • npm install -g nativescript