-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node 7.0.0, MODULE_NOT_FOUND internal/fs during npm install #9355
Comments
That’s weird, there should be no |
I'm using |
There is no such file in the |
Related issue https://gist.github.com/suissa/528c3e9e264f23378c2b0d36571de2dc (Also seem to use |
Which version of npm should be installed with node 7.0.0? Is 3.10.8 correct? |
I wiped everything in |
[Solved] In my case, I installed node7 with |
helped total reinstall nodeJS. |
For me removing the /usr/local/lib/node_modules/npm directory and then switching with n between an old version and back to the stable version solved the issue, that way, there is no need for cleaning the entire node_modules directory. |
I did a similar thing to @bollogo:
|
I had the same problem, so I decided to delete the version 7.0 and install the older version, 6. So i solved this problem |
oh, yes, after i delete the version 7.0 i deleted too the folder 'node_modules'. So i install the version 6... |
i have this problem; i've tried your solution but problem remains. Node version: 7.5.0; npm version: 4.1.2 |
I have the same issue, Node version: 7.5.0; npm version: 4.1.2 |
It seems to me that this was not a temporary problem since people keep having it and even running the latest version of node. Re-opening in hope to get some input. |
There have been a couple of other bug reports but they all were able to fix it with either a clean reinstall or fixing up their dependencies (npm flattening + broad version range = outdated dep.) I have no reason to believe it's an issue with node itself so I'll go ahead and close this out again if you don't mind. |
If you installed using |
I ran into the same issue on Windows after installing Node 7.7.3 into previous' installation folder (0.12.*).
|
I ran into this same problem installing with brew. Deleting |
this seems to be an issue with gulp requiring an old versions of
|
I solved by first renaming npm folder to npm_todelete folder in C:\Users\xxx\AppData\Roaming\npm\node_modules dir |
I got this issue when I updated my node version to v7.9.0, And solved it via update gulp from [email protected] to [email protected]. So seems like it matchs what @hanakin described. |
Upgrading to a newer version of Gulp fixed this for me when all the other solutions failed. Also note that the Gulp install said this: "graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree." |
Just upgrade node version using nvm and it should solve this issue. |
same problem,I did like bollogo and it worked |
I also had this problem. The following steps are the causes for the problem. C:\Program Files\nodejs\node_modules\npm>npm outdated Step 2 : in package.json, i have changed request to latest version(2.83.0) which is higher than wanted version. so npm ERR! code MODULE_NOT_FOUND has came. i did npm repair from control panel to solve this issue. |
I did the same, I reinstalled everything again
Il 05/ott/2017 12:19, "naveento" <[email protected]> ha scritto:
… I also had this problem. The following steps are the causes for the
problem.
Step 1 : Executed the command npm outdated
C:\Program Files\nodejs\node_modules\npm>npm outdated
Package Current Wanted Latest Location
request 2.81.0 2.81.0 2.83.0 npm
Step 2 : in package.json, i have changed request to latest version(2.83.0)
which is higher than wanted version. so npm ERR! code MODULE_NOT_FOUND has
came.
i did reinstall to solve this issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9355 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAWOk4H_aBqjYQkCLBC0DieY4ke7zWicks5spK0XgaJpZM4KkHV5>
.
|
On my system an old npm version caused the problem. Reinstall with
fixed it. |
For what it's worth (OS X 10.11.6) with a recently-updated Node.js (8.6.0), my previous gulp-related project then failed its "gulp serve" with the indicated error message.
It now works as expected. Note that I didn't upgrade my gulp, I just re-installed it locally in place. |
当切换 Node 7 ++,就会出现同样问题。 The same problem occurs when you switch Node 7 ++.
|
I just installed
7.0.0
and get the following error when installing dependencies:The text was updated successfully, but these errors were encountered: