H
H
heIIfire2018-05-30 11:14:14
npm
heIIfire, 2018-05-30 11:14:14

npm unistall * or remove node_modules. Is there a difference?

npm unistall * or remove node_modules. Is there a difference?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nakree, 2018-05-30
@heIIfire

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

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question