Quantcast
Viewing all articles
Browse latest Browse all 54

Answer by Ahmed Elkoussy for How to uninstall npm modules in node js?

The uninstall option didn't work for me when I tried to use the same command to the one I used in installing (as I was installing with the @latest directive)

So for example, I installed a package like this:

npm install  @ngtools/webpack@latest

And then I wanted to uninstall it so I used the same command (including @latest)

npm uninstall  @ngtools/webpack@latest

So the above uninstall didn't work, I have to remove the @latest & then it worked well

npm uninstall  @ngtools/webpack

I hope this helps


Viewing all articles
Browse latest Browse all 54

Trending Articles



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