I work with nodejs (version v4.2.1) I would like to work with gulp I installed gulp (3.9.0) But when I try my default script with an empty function (the script below) using the gulp command I get an error
Error: cannot find module 'dateformat'
I tried to set dateformat using
npm install -g dateformat
I can verify that dateformat is set using the dateformat --help command But the gulp script creates the same error
Error: cannot find module 'dateformat'
I am working with windows 7
Any help?
====================== script
var gulp = require('gulp'); gulp.task('default', function() { });
Jean-claude moissinac
source share