I am using latest Ionic.
I get this.
× Running command - failed!
[ERROR] An error occurred while running npm install (exit code 1):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules\fsevents):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename
'C:\Users\DaX\Desktop\vodomerIonic-master\node_modules\.staging\fsevents-d48d4a7d\node_modules\abbrev' ->
'C:\Users\DaX\Desktop\vodomerIonic-master\node_modules\.staging\abbrev-ebbbee2d'
npm ERR! code E404
npm ERR! 404 Not Found: ansi-styles@https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.0.tgz
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\DaX\AppData\Roaming\npm-cache\_logs\2017-08-26T20_57_43_086Z-debug.log
I’ve tried to delete node_modules folder but it didn’t help me.
EDIT
Fixed it by deleting and reinstalling Node. I think that problem was with unstable release of version 8. So i’ve deleted everything following answers here and installed stable release of Node again and everything worked fine for me.