Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Cannot find module 'core-util-is' after running gulp and bower install #3

Closed
amite opened this issue Jul 31, 2014 · 10 comments
Closed
Labels

Comments

@amite
Copy link

amite commented Jul 31, 2014

When I run gulp I get this error:

   Cannot find module 'core-util-is'
    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.<anonymous> (/Users/amiterandole/Documents/current/webdev/angulpify/node_modules/gulp-if/node_modules/through2/node_modules/readable-stream/lib/_stream_duplex.js:39:12)
    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 Module.require (module.js:364:17)
@jgoux
Copy link
Owner

jgoux commented Jul 31, 2014

I never encountered this error.
Could you determine which npm dependencie triggers it ?
You can try to scaffold the project with the --skip-install option.
Then you can look at the dependencies inside the package.jsonfile and try to install them one by one, for example : npm install yargs.
Sorry I can't help you more on this.

@jgoux jgoux added the bug label Jul 31, 2014
@jgoux
Copy link
Owner

jgoux commented Aug 3, 2014

Hey @amite , did you figure out where the bug comes from ? I'm sorry I can't reproduce it.

@jgoux
Copy link
Owner

jgoux commented Aug 12, 2014

I'm closing it for now, @amite if you still have this issue you can reopen it!

@jgoux jgoux closed this as completed Aug 12, 2014
@iongion
Copy link

iongion commented Nov 3, 2014

This happens when you abruptly terminate npm install :), just noted it here for ones that get burned by impatience

@jgoux
Copy link
Owner

jgoux commented Nov 4, 2014

Thanks for the tip @iongion !

@ANiedritis
Copy link

"Then you can look at the dependencies inside the package.jsonfile and try to install them one by one, for example : npm install yargs."

Yep, got the same error because of my impatience, and this did fix this error.

@mnpenner
Copy link

mnpenner commented Sep 8, 2015

I just hit this error. Try nuking your node_modules directory and re-installing (npm install).

@Dynom
Copy link

Dynom commented Oct 19, 2015

I had this error too. I ran a npm install in a docker container. This probably has no relation but it's a pain to sort everything out when you have a gazillion (recursive) npm packages.

@andrewluetgers
Copy link

had same problem after nuking project node_modules. A clean install after to require nuking both the project and global node_modules folders did the trick.

@kdcllc
Copy link

kdcllc commented Nov 22, 2015

I used VS.NET 2015 and my project experienced this problem so I deleted npm cache that is specific to the project and was able to user Task Runner Explore (TRE) within the project. Visual Studio.NET 2015 by default downloads all of the dependencies when TRE is open.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

8 participants