gulp icon indicating copy to clipboard operation
gulp copied to clipboard

Gulp error on Node 0.12.0

Open SAnDAnGE opened this issue 11 years ago • 8 comments

C:\Zend\Apache2\htdocs\u3c>gulp -T
module.js:338
    throw err;
          ^
Error: Cannot find module 'C:\Users\Emanuel\AppData\Roaming\npm\node_modules\gulp\node_modules\v8flags\3.28.73.flags.json'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (C:\Users\Emanuel\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js:25:22)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)

SAnDAnGE avatar Feb 08 '15 09:02 SAnDAnGE

@SAnDAnGE This will be fixed if you uninstall and reinstall Gulp with the new version of Node.

jameswomack avatar Feb 08 '15 11:02 jameswomack

npm uninstall -g gulp npm install -g gulp Should fix your problem.

AbdullahDiaa avatar Feb 08 '15 16:02 AbdullahDiaa

Thank you, this solves the problem.

SAnDAnGE avatar Feb 08 '15 22:02 SAnDAnGE

Thanks AbdullahDiaa!

Egidius avatar Feb 09 '15 22:02 Egidius

This is fixed in gulp 3.8.11, no need to reinstall anymore, as flags are fetched upon startup if we don't already have them.

phated avatar Feb 09 '15 22:02 phated

Thanks. +1

LitterPapmasa avatar Feb 10 '15 08:02 LitterPapmasa

Thanks!!+1

firetix avatar Feb 10 '15 22:02 firetix

Locking as this is fixed and +1s are just noise.

phated avatar Feb 10 '15 22:02 phated