johnpapa / pluralsight-gulp

Starter Code for Pluralsight Course "JavaScript Build Automation with Gulp.js"
http://jpapa.me/gulpps
MIT License
158 stars 262 forks source link

Cannot find module 'q' #7

Closed mb2o closed 9 years ago

mb2o commented 9 years ago

I get the following error message after running : bower install

module.js:340 throw err; ^ Error: Cannot find module 'q' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (C:\Users\Mark\AppData\Roaming\npm\node_modules\bower\bin\bower:6:9) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10)

mb2o commented 9 years ago

Never mind! It was an issue with my Node/NPM install. I just updated it yesterday and the order in my PATH environment variable got garbled..

Sorry for the inconvenience.

johnpapa commented 9 years ago

glad you found it

hassanyousufx commented 8 years ago

Hey can you tell me how you exactly solved this issue? I am running 'gulp' and it gets me the same error.

nblasgen commented 8 years ago

npm install -g q