-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 install fails at node-pre-gyp #22398
Comments
Hey @creativiii, I'm not sure what's your OS, but I had exactly the same problems on my Ubuntu 18.04. I'm not an expert, but since I just finished troubleshooting the same/similar problem, I'll dump my notes here and maybe they'll help you or others. ------------------------------- Brain Dump Below ------------------------------- I think the problem is in the machine config or (less likely) upstream in
So imho there are two potential sets of problems:
Try:
That still didn't help me so I tried to install bunch of things - the very last package
Hope it helps somone, |
@watofundefined - Can confirm that I had the same issue, specifically with
Once I closed and reopened terminal |
I can also confirm that installing I am running Ubuntu 20.04.1 LTS in WSL 2 (Windows Subsystem for Linux) and was struggling with the same problem. I had installed all the dependencies from the above packages ( |
I'm unsure if this is a bug or my own fault. I'm unsure how to solve it so hopefully someone can give me a hand.
When I run
npm install
, most of the installation runs fine until it gets to the above mentionednode-pre-gyp
. At that point node outputs this error:I've noticed this bit in particular:
Which leads me to believe
A) There's no
node-pre-gyp
version for my Node version (13.9.0)B) I'm missing
krb5-config
, which I'm not sure if I should install or notI do have python installed by the way:
Is the problem related to my version of Node? Any way to fix it that won't require me to uninstall node entirely?
The text was updated successfully, but these errors were encountered: