https://github.com/itsjonq/npm-fix
📦NPM Fix: A quick way to reset npm dependencies in your project
https://github.com/itsjonq/npm-fix
cli fix node-module npm reset
Last synced: about 1 month ago
JSON representation
📦NPM Fix: A quick way to reset npm dependencies in your project
- Host: GitHub
- URL: https://github.com/itsjonq/npm-fix
- Owner: ItsJonQ
- License: mit
- Created: 2019-01-03T14:52:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-03T16:17:23.000Z (over 7 years ago)
- Last Synced: 2025-01-13T19:41:07.508Z (over 1 year ago)
- Topics: cli, fix, node-module, npm, reset
- Language: JavaScript
- Homepage:
- Size: 71.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 📦 NPM Fix
[](https://badge.fury.io/js/npm-fix-cli)
> 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!
```
## Installation
```
npm install -g npm-fix-cli
```
## Usage
To use `npm-fix`, run the command after installing it on your computer:
```
npm-fix
```
### Note
Only use this if `npm` is giving you issues. Otherwise, opt for:
```
npm install
```
Or:
```
npm ci
```