gulp: Broken with iojs v1.0.3

Using iojs v1.0.3 throws error :

Esan-iMac:$gulp [mytask]
module.js:324
    throw err;
          ^
Error: Cannot find module '/usr/local/lib/node_modules/gulp/node_modules/v8flags/cache/4.1.0.7.flags.json'

and installing iojs v1.0.2 over 1.0.3 solved this.

Don’t know where this bug belongs; pls forward if not gulp-specific. I think iojs upgraded V8 upgrade from 3.31 to 4.1 ??

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 28 (9 by maintainers)

Most upvoted comments

@lucasmotta @callumacrae

I have the exact same issue with io.js and gulp earlier. But I could confirm that 3.8.11 play nicely with io.js. Tried with npm rm -g gulp, it did not work for me. Here is what I did to make it work,

ls /usr/local/lib/node_modules/gulp

Well, it should be there if you installed it via npm install -g gulp. then do this

rm -rf /usr/local/bin/gulp
rm -rf /usr/local/lib/node_modules/gulp

It should remove the old/latest gulp binary, then do the clean installation

npm i -g gulp

Now it should work.