Quantcast
Channel: How can I uninstall npm modules in Node.js? - Stack Overflow
Viewing all articles
Browse latest Browse all 54

Answer by Nastro for How can I uninstall npm modules in Node.js?

$
0
0

Sometimes npm uninstall -g packageName doesn’t work.

In this case you can delete package manually.

On Mac, go to folder /usr/local/lib/node_modules and delete the folder with the package you want. That's it. Check your list of globally installed packages with this command:

npm list -g --depth=0

Viewing all articles
Browse latest Browse all 54

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>