A quick way to reset npm dependencies in your project
- Removes
package-lock.json
- Removes
node_modules
- Downloads dependencies again
๐ฆ NPM Fix
๐ Analyzing...
Project details
--------------------------------------------
npm version 5.8.0
npm user itsjonq
--------------------------------------------
๐ช Fixing...
โ [1/4] ๐ Checking connection...
โ [2/4] ๐ Removing package-lock.json...
โ [3/4] ๐ฆ Removing node_modules...
โ [4/4] ๐ Fetching packages...
Success!
โจ Have fun developing!
npm install -g npm-fix-cli
To use npm-fix
, run the command after installing it on your computer:
npm-fix
Only use this if npm
is giving you issues. Otherwise, opt for:
npm install
Or:
npm ci