I've found several threads related to this issue but none seem to deal with my case specifically and I've been unable to solve using the suggestions I've found.
When I run npm uninstall -g "some package"
it just returns: up to date in .043s
- And the global package remains.
For example I'm trying to uninstall babel-cli
and after running npm uninstall -g babel-cli
I'm still able to use the cli
.
This started after I uninstalled node
and npm
and reinstalled using nvm
. I'm wondering if I missed something while uninstalling node
and it's causing the issue. I checked my dot files and noticed I still have a .npm
outside of .nvm
. Is that normal? Thanks in advance for any suggestions.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…