Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • 7
    Thanks for this one, what about npm-cache, should I remove that also? Commented May 10, 2013 at 10:02
  • 4
    don't delete the npm folder if it's there Commented Nov 3, 2017 at 10:21
  • 3
    I was reinstalling all packages, I ran into EINTEGRITY errors when running npm install again. I had to delete my package-lock.json file as well. Commented Apr 25, 2018 at 16:00
  • 1
    @Neil npm cache clean --force Commented Jul 10, 2020 at 17:33
  • 1
    If you are using nvm for windows, then your node_modules folder will be located at C:\Users\[username]\AppData\Roaming\nvm\[version]\node_modules Commented Mar 8, 2021 at 15:07