-
Notifications
You must be signed in to change notification settings - Fork 158
Is NPM or the NPM update broken? #547
Comments
What happens if you manually run |
As of the recent release of Node v15 & Npm v7, |
So what should be done instead? |
If npm version >= 7, call `npm up` without the `-g` flag
…On Mon, Oct 26, 2020, 3:00 AM Roey Darwish Dror ***@***.***> wrote:
So what should be done instead?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#547 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFZ2Y4PE2DJ55RJQXQ7L6DSMUM7PANCNFSM4S6FSPAA>
.
|
npm debug log file:
|
Can you guys just run |
@r-darwish There still seem to be some issues regarding npm 7's new At least on my system (macOS, npm 7.0.3), |
I don't feel like watching NPM tickets so whenever a solution comes out I'll be happy if someone writes it here. |
Here's the issue: npm/cli#1962 It's easy to get only the kind of notification you want: In the issue details area: |
Nice tip. Thanks |
Solution: mitigate this on Mac OSX, until Node fixes v15, with the following brew install nvm
nvm install 14.15.0
nvm alias default stable
nvm use default To restore topgrade to the latest node version, once it is fixed, run |
Um that isn't really fixing it though that is just changing your system wide version of node to 14.15, surely a better option would just be to add |
I suggest deprecating node/npm. Also acceptable to me would be to keep the current behavior but guard it with an |
The new version solves the problem |
So this issue can be closed? |
maybe someone else could confirm that? |
@narfk @r-darwish Upgrading to npm 7.0.10 worked for me as well! |
I upgraded node from 15.1.0 to 15.2.0 and it's working for me now. |
I can confirm that it's working with the latest version of
|
Thanks! |
What did you expect to happen?
NPM updated
What actually happened?
NPM ERR! global requires an add or rm option
Additional details:
The text was updated successfully, but these errors were encountered: