This article is a mirror article of machine translation, please click here to jump to the original article.

View: 7393|Reply: 0

npm removes the uninstall module

[Copy link]
Posted on 10/29/2018 4:47:11 PM | | |
1. Delete the global module: npm uninstall -g <package>to utilize npm

2. Delete Local Module:

npm uninstall module

The question you should think about when deleting a local module is: Do you also remove the corresponding dependencies on the package.json?

npm uninstall module: Deletes the module, but does not delete the corresponding information left by the module in the package.json

npm uninstall module --save deletes the module, and at the same time deletes the corresponding information left by the module under dependencies in the package.json

npm uninstall module --save-dev deletes the module, and deletes the corresponding information left under devDependencies in the package.json




Previous:Angular 6.x integrates JQuery DataTables tables
Next:12G ultra-clear photography book list, private room, advertising, wedding and other skills, covering comprehensively
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com