-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[BUG] ENOTDIR error on npm install (npm 3 over node 4. I know: legacy. Sorry :( ) #5032
Comments
Both node 4 and npm 3 are many years out of date, so if you can't upgrade, you're likely to remain broken - nobody's going to fix anything that old. |
Wow, but... It's funny, because this got broken this week after years of being working... Same problem here from another guy Thank you so much for your response |
And is there any way to debug the npm source code in order to get an idea about what is happening? Thanks again! |
Man I just got a similar error trying to upgrade a Meteor project. Meteor bundles node/npm so I can't directly update node. I'll see if I can find any more detail tomorrow.
|
we are also experiencing the same problem ... suddenly upon inspection, a
so maybe a file is missing at the time it is read, and is written milliseconds later? it's just conjecture none of our binaries have changed in ages. in all candor, we're in the same situation as OP
except that we're using ✨ Node 6 ✨ none of the following permutations work
we are able to |
Hi folks! I found the problem! It is related with the library generator-jhipster (or any of its dependencies) We don't use it anymore, so i got rid of it and everything works again! Thanks everybody! |
I've experienced the same issue, but here it was because of @azure/storage-file-datalake |
Hi @daniel-alonso-sanchez , |
Hi @rmtsys ! I pointed into the right direction thanks to jenkins. We kepts two executions: a successful and a failed one. Comparing both I found that the successful process this package, but not, the failed one:
I found that library was included by generator-jhipster. After got rid of generator-jhipster, the problem stop. Regards |
Encountered same error, this happens after I ran
This is my
|
figured out the issue by me The reason to the fail is dep of dep Merge pull request #125 from xg-wang/rollup_iife · ember-cli/ember-fetch@7199051
The solution was reverting to version how to figure out what package is breaking by you:
|
I was having the same issue. As others have pointed out, it might be related to a library on package.json. In my case it was browser-sync. |
This was the approach that worked best for me! Thanks so much for the advice. |
Exact same package causing the issue for me, thank you! |
I imported the @types directly and I fixes that issue. I am not sure where it came from or what the lowest version of NPM is. that fixes this. Is this some automatic feature that some libraries updated to use it mid release? no idea. |
Same problem here after cleaning the cache, damn, I guess related to @types, what exactly did you import directly? every package or just what it sounded good? In case thanks, G. |
Upgrade npm from 4.6 to 6.9 fixes this issue on serveral machines. |
Instead of removing dependency and spending all that time (although it might optimize code by reducing unnecessary dependencies), just update the version of the node in the bitbucket-pipelines.yml file. In my case the image had: node:6.9.0, which I changed to node:12.16.0. This small change resolved my issue. |
Hi! First of all, my apologies for reporting a problem of npm3 here, but it looks like the old repo is currently in read only mode.
We have a big and old angularjs frontend app, that requires node4 and uses npm3. A couple of days ago, a problem raised when someone performed a npm install.
error
package.json
npm-debug
I cannot upgrade to newer npm versions, because of the angularjs app and dependencies. I tried to move to npm6, but the application also packaging stopped working
Anyone have any clues about this? I'm completely desperated...
Thanks in advance and sorry again.
The text was updated successfully, but these errors were encountered: