1

while running gulp from cmd

module.js:328 throw err; ^

Error: Cannot find module 'dateformat'
at Function.Module._resolveFilename (module.js:326:15)
at Function.Module._load (module.js:277:25)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (C:\Users\Npandey\AppData\Roaming\npm\node_modules\gulp\node_modules\gulp-util\index.js:5:9) at Module._compile (module.js:398:26)
at Object.Module._extensions..js (module.js:405:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)

2
  • 1
    Did you run npm install? Dec 31, 2015 at 9:14
  • yes i did run npm install
    – noddy
    Jan 4, 2016 at 12:49

2 Answers 2

1

Npm install worked for me. I had the same error.

0

Remove node_modules folder and again npm install

2
  • 1
    This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
    – Brody
    Aug 23, 2016 at 0:29
  • I answered it. Cant you see i asked him to remove node_modules folder and then run command npm install Aug 23, 2016 at 6:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.