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] grunt uninstall #751
Comments
It would be nice to have a comment as to why the issue was closed. Does grunt not view un-installing itself as a priority? Can I manually delete the grunt directory from /usr/local/lib/node_modules, and that will be clean and neat? |
NPM is responsible for installing and uninstalling modules. Yes, you can manually delete folders in node_modules, but it is generally considered a lot easier to type With respect to this issue, Grunt was not installed globally, so there was nothing to remove. If you want to uninstall the Grunt command globally, remove the cli with |
After messing with it a while, I realized that the problem for both the original poster and myself was that we tried to remove grunt. The name of the package is grunt-cli. Probably the OP tried to close it quietly when he realized his error. Without a comment "Oh, I gave the wrong name for the package," I didn't understand, and asked a question. |
Thanks for your help, Tyler. I gave it the wrong package name. Sigh From: Tyler Kellen [mailto:notifications@github.com] NPM is responsible for installing and uninstalling modules. Yes, you can manually delete folders in node_modules, but it is generally considered a lot easier to type npm uninstall modulename, or in the case of globally installed modules, npm uninstall -g modulename. With respect to this issue, grunt was not installed globally, so there was nothing to remove. If you want to uninstall the grunt command globally, remove the cli with npm uninstall -g grunt-cli. — |
sudo npm uninstall modulename -g --prefix=/usr/local |
_npm WARN uninstall not installed "grunt"_
The text was updated successfully, but these errors were encountered: