How to rollback operation npm?

Viewed 18189

I have installed one dependency using npm. After that server is not run. How to rollback this operation(npm install)?

3 Answers

If you are tracking your files using a Version Control System, you simply need to discard the changes in the package.json file, save all your files, then run npm install

Related