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…