Skip to content
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

npm WARN tar ENOENT: no such file or directory #141

Open
gtaillefer opened this issue Nov 7, 2022 · 0 comments
Open

npm WARN tar ENOENT: no such file or directory #141

gtaillefer opened this issue Nov 7, 2022 · 0 comments

Comments

@gtaillefer
Copy link

gtaillefer commented Nov 7, 2022

I'm going to repost this here from this topic on MediaWiki that I posted so I might get more answers
I tried installing both the translation-server and the zotero service from mediawiki via their git commands, and upon going in their respective directories, and trying to use npm install, they give me 100+ different versions of the same error:

npm WARN tar ENOENT: no such file or directory ...

For example one of the ones from translation-service:

npm WARN tar ENOENT: no such file or directory, lstat '/home2/wwiiarch/translation-server/node_modules/.staging/core-js-f5f4dd1d/modules'
or
npm WARN tar ENOENT: no such file or directory, open '/home2/wwiiarch/zotero/node_modules/.staging/aws-sdk-acdb4433/clients/pricing.d.ts'

The common thing that I have found for both of these is that when I go into each node_modules directory, it shows that they're emtpy. This is despite the fact that none of the isntructions tell me anything about this, and just say to use the git command. However it seems that I use the npm commands its looking for a .staging folder inside node_modules.

My version of node is v10.24.1 (before I was trying v12.22.12 but it doesn't seem to change anything), and my version of npm is 6.14.16. I'm also on CentOS using Bluehost shared hosting.

How do I fix this problem? Thanks

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

No branches or pull requests

1 participant