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? Commented Dec 31, 2015 at 9:14
  • yes i did run npm install Commented Jan 4, 2016 at 12:49

2 Answers 2

1

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

Sign up to request clarification or add additional context in comments.

Comments

0

Remove node_modules folder and again npm install

2 Comments

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
I answered it. Cant you see i asked him to remove node_modules folder and then run command npm install

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.