-
Notifications
You must be signed in to change notification settings - Fork 136
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
Error with npm i
on Ubuntu 18.04
#166
Comments
My issue looks related to here (npm/cli#681), but I'm hesitant to just start running commands eg. |
I learned more about my issue and have the following resolution. Posting here so others can see and to see if anybody has final feedback - I'm still a novice with these kinds of tools. Based on this post (npm/cli#681) the versions of npm and nodejs that come with Ubuntu 18.04 is too old. Per here (https:/nodesource/distributions/blob/master/README.md) building on Ubuntu 18.04 is broken for nodejs 18 and up, and here (https://nodejs.org/en/blog/) says nodejs 16.18.1 is LTS, so I plan to install that. I uninstalled what I had previously installed with apt (maybe not necessary) with
which failed near the end because the GPG key was set to the incorrect permissions (nodesource/distributions#1181), so:
Once the permissions were fixed, I re-did the curl command and then simply |
I am new to nodejs and I am having trouble installing the package on Ubuntu 18.04 (LTS). I have just installed
nodejs
andnpm
with:The output of
npm i
is:I can include the npm debug log if necessary (it's half a MB). My guess is some package version mismatch (18.04 is getting old). Thanks!
The text was updated successfully, but these errors were encountered: