IONIC 2 - CLI does not Install / work on windows 7 with Git-Bash


#1

Hey guy yesterday everything was fine with my app. I tried to update the ionic-2 version from the “latest” to “nightly” version and everything turned to a nightmare…
Nothing is working now… I can’t even use the IONIC-CLI in my Windows-7 anymore.

I have tried to install more than four different nodejs versions (6.5.0, 6.2.2, 6.4.0, 7. etc) (un- and install, pc restarts etc…) but all of them didn’t and do not work…
What should I do to make it work again?

MY WISH: It would be good if you guys had a list where developers can see which node versions are compatible with which IONIC ones. Thx!

In the following is the error message:

$ npm install -g cordova ionic
npm WARN deprecated node-uuid@1.4.7: use uuid module instead
C:\Program Files\Git\usr\local


npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.0.15 (node_modules\io nic\node_modules\ionic-app-lib\node_modules\glob-watcher\node_modules\chokidar\n ode_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 1.0.15: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64” })
npm ERR! Windows_NT 6.1.7601
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\Git\usr \local\node_modules\npm\bin\npm-cli.js” “install” “-g” “cordova” "ionic"
npm ERR! node v5.12.0
npm ERR! npm v3.10.10
npm ERR! path C:\Program Files\Git\usr\local\node_modules.staging\abbrev-31e529 18
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename ‘C:\Program Files\Git\ usr\local\node_modules.staging\abbrev-31e52918’ -> 'C:\Program Files\Git\usr\lo cal\node_modules\cordova\node_modules\npm\node_modules\abbrev’
npm ERR! enoent ENOENT: no such file or directory, rename ‘C:\Program Files\Git\ usr\local\node_modules.staging\abbrev-31e52918’ -> 'C:\Program Files\Git\usr\lo cal\node_modules\cordova\node_modules\npm\node_modules\abbrev’
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Dan\npm-debug.log