On Windows 7, I've installed gulp as explained here: http://markgoodyear.com/2014/01/getting-started-with-gulp/ .
npm install gulp -g
- In my app folder:
npm install gulp --save-dev
- I create a
But then, when I try to run
gulp , I get this error message.
module.js:340 throw err; ^ Error: cannot file module 'gulp-util' at Function.Module._resolveFilename (module.js:338:15)
gulp-util is present (in the local app folder) in.
node_modules gulp node_modules gulp-util
What do you think may be the cause?
There is no need to manually install gulp-util from later versions
Check the new getting started page .
If you still have this problem try reinstalling your project's local packages
rm -rf node_modules/ npm install
You also need to install gulp-util:
npm install gulp-util --save-dev
Install gulp and gulp-util in your project devDependencies