-
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] npm uninstall
doesn't work in 7.7.0
#2927
Comments
Also seeing this on
I do not see this on 7.6.3. |
@erunion that looks like a different issue to me, specifically thats an EACCES error; mine is just outputting "up to date" so its not even trying to do anything. (I'll update my issue to reflect that) |
👍 I'll open up a new ticket. |
I am also facing this error. I was looking into this to see if my changes to arborist in v7.7.0 affected this. Fortunately, it didn't 😅 It appears to be due to this commit this commit, which is removing references to By reverting this commit, removal works again. But, we should figure out the reason why this isn't working 😋 So, it has to do with the return value of Next step would be checking to see why |
As a temporary workaround, you could possibly do this (below is POSIX-compliant shell): PREFIX=$(pwd) npm rm [<@scope>/]<pkg>... I was able to uninstall a package using the above, but YMMV. |
fixed in [email protected] thanks @jameschensmith for the quick patch! 🎉 |
Current Behavior:
npm uninstall <package>
doesn't do anything when using v7.7.0Expected Behavior:
That the package I specify is uninstalled :)
Steps To Reproduce:
npm i -g [email protected]
npm init -y
npm install luxon
npm uninstall luxon
If you replace step 1. with
npm i -g [email protected]
, it all works as expected:Environment:
OS: Ubuntu 18.04 via WSLv1
Node: 14.6.0
npm: 7.7.0
The text was updated successfully, but these errors were encountered: