Categories
npm unistall * or remove node_modules. Is there a difference?
Answer the question
In order to leave comments, you need to log in
npm uninstallwill clean up the node_modules, package.json, package-lock.json Just deleting node_modulesthe , remove the dependency files, and they can be installed again via npm install(if left package.json) https://docs.npmjs.com/cli/uninstall
npm uninstall
node_modules
package.json
package-lock.json
npm install
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question