You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] cannot read property 'length' of undefined with npm #2721
changed the title [-][BUG] cannot read property'length'of undefined with nom[/-][+][BUG] cannot read property'length'of undefined with npm[/+]on Feb 18, 2021
changed the title [-][BUG] cannot read property'length'of undefined with npm[/-][+][BUG] cannot read property 'length' of undefined with npm[/+]on Feb 18, 2021
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
Activity
[-][BUG] cannot read property'length'of undefined with nom[/-][+][BUG] cannot read property'length'of undefined with npm[/+][-][BUG] cannot read property'length'of undefined with npm[/-][+][BUG] cannot read property 'length' of undefined with npm[/+]ljharb commentedon Feb 18, 2021
Can you try npm v7.5.4?
thefordyking commentedon Feb 18, 2021
Fixed it
thefordyking commentedon Feb 18, 2021
No, I cannot update npm with npm
ljharb commentedon Feb 18, 2021
npm install -g npmerrors out the same way? (possibly withsudo)thefordyking commentedon Feb 19, 2021
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.
nlf commentedon Apr 9, 2021
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