Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uninstall a Package From Angular Project

I installed a Package of Owl carousel in My project,Now I need to remove it from my Project. How it is possible, i tried ng uninstall but it not worked

like image 733
Asifali Avatar asked Aug 10 '26 20:08

Asifali


2 Answers

Here are the commands:

npm uninstall <name> removes the module from node_modules, but not package.json

npm uninstall <name> --save also removes it from dependencies in package.json

npm uninstall <name> --save-dev also removes it from devDependencies in package.json

npm -g uninstall <name> --save also removes it globally

like image 180
Soumya Ranjan Swain Avatar answered Aug 13 '26 13:08

Soumya Ranjan Swain


Try like this:

npm uninstall owl.carousel

or

npm u owl.carousel
like image 28
Adrita Sharma Avatar answered Aug 13 '26 12:08

Adrita Sharma



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!