I did a npm update but get an error. Tried to install again and have the same error :
sudo npm install -g ionic
> v8flags@1.0.5 install /usr/local/lib/node_modules/ionic/node_modules/gulp/node_modules/v8flags
> node fetch.js
sh: node: command not found
npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "ionic"
npm ERR! node v0.10.33
npm ERR! npm v2.1.11
npm ERR! code ELIFECYCLE
npm ERR! v8flags@1.0.5 install: `node fetch.js`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the v8flags@1.0.5 install script 'node fetch.js'.
npm ERR! This is most likely a problem with the v8flags package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node fetch.js
npm ERR! You can get their info via:
npm ERR! npm owner ls v8flags
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/seb/Documents/Dev/Mobile/gleeftyonic/npm-debug.log
Ionic is not working anymore!
1 Like
What version of node do you have?
Same here.
Node version is v0.10.33
Appears to be an issue with v8flags and/or gulp maybe?
Would one of you mind opening an issue for this?
Please link back to the forum post
Node version is 0.10.33 and OSX 10.9.5. I fixed it few hours ago.
It seems to be an issue with v8flags : when I run
sudo npm install -g v8flags
I have the following error :
> v8flags@1.0.6 install /usr/local/lib/node_modules/v8flags
> node fetch.js
sh: node: command not found
npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "v8flags"
npm ERR! node v0.10.33
npm ERR! npm v2.1.11
npm ERR! code ELIFECYCLE
npm ERR! v8flags@1.0.6 install: `node fetch.js`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the v8flags@1.0.6 install script 'node fetch.js'.
npm ERR! This is most likely a problem with the v8flags package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node fetch.js
npm ERR! You can get their info via:
npm ERR! npm owner ls v8flags
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/seb/npm-debug.log
So I installed gulp version 3.8.8 (by running sudo npm install -g gulp@3.8.8
) with success (no v8flags dependency). Then I downloaded ionic-cli source, removed v8flags dependency from npm-shrinkwrap.json file and, last, installed it from local source (npm install /ionic-cli-master -g
). Install was successfull.
All is working fine now… 
Looks like this was resolved. I thought (with the usual grain of insanity) that I would just try “one more time” this morning and the standard installation went through perfectly. Thanks!
good to hear. We fixed the cli yesterday and pushed out a new release. It should be version 1.2.13 now