-
Notifications
You must be signed in to change notification settings - Fork 492
Error: Cannot find module '/home/user/test/node_modules/jest-cli' #154
Comments
Hmm, not sure why this happens. Is |
I have the same error |
Fyi I think it is this issue jestjs/jest#4419 |
Deleting my |
Confirmed, wiping It works again following that as I have a feeling my reason was the same as ryanbrainard's. I also mixed a bit of npm and yarn along the way. |
@ryanbrainard and @amackintosh Thanks for this. I also came across the same issue, I think the best way to stay away from this issue is to stick with one package manager.
|
Just ran into this too... blowing away node modules and running yarn install again fixed this. Not sure why this happened! |
I had this issue today, and as @ryanbrainard mentioned, it was because I installed something with And yes, wiping out |
Same here : fixed by removing Thanks :) |
I bumped into this even though I was just using npm, so it is probably not just about mixing package manages. But thanks guys for the fix it worked like magic! |
Thanks @ryanbrainard |
awesome this worked like a charm |
Removing node_modules solved mine too! Very weird! |
Environment
npm ls react-scripts-ts
(if you haven’t ejected): └── (empty)node -v
: v8.4.0npm -v
: 5.3.0yarn --version
(if you use Yarn): 0.27.5Operating system: Ubuntu 14.04
Steps to Reproduce
The text was updated successfully, but these errors were encountered: