-
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] cannot read property 'length' of undefined with npm #2721
Comments
Can you try npm v7.5.4? |
Fixed it |
No, I cannot update npm with npm |
|
yup I don't know what happened it was working a while ago My linux distro is kinda weird.since I'm running a vertral computer on a android device. But I got it to work in a terminal so I can update packages with that. But I will like to update the npm in my vertral linux thing. |
we've made some improvements to how global updates work in the time since this was opened. if your current npm isn't capable of installing a new npm, you can always try our install script detailed here https://github.com/npm/cli#direct-download that script will download and install the latest release for you and only requires a working nodejs installation |
Current Behavior:
root@localhost:~/Desktop/fordycoin-miner# npm install node-fetch
npm ERR! Cannot read property 'length' of undefined
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-02-18T03_45_41_879Z-debug.log
Expected Behavior:
root@localhost:~/Desktop/fordycoin-miner# npm install node-fetch
//and it should continue installing the package
Steps To Reproduce:
Use version 7.5.3
Run 'npm install' with why package including npm
Environment:
The text was updated successfully, but these errors were encountered: