fuck-npm

2.0.0 • Public • Published

fuck-npm

Version License Node version Dependencies Vulnerabilities Prettier

Description

This command line tool will remove node_modules directory & run npm install. Useful when you're desperate.

Windows (NFTS) - "Source Path Too Long" error

fuck-npm has been tested against the following error on Windows:

The source file name(s) are larger than is supported by the file system. Try moving to a location which has a shorter path name, or try renaming to shorter name(s) before attempting this operation.

Installation

npm install -g fuck-npm

Usage

# go to your project directory
cd ~/projects/my-project

# remove "node_modules", and then run "npm install"
fuck-npm

# remove "node_modules" & "package-lock.json", and then run "npm install"
fuck-npm aslkjdals # pass any parameter (just mash your keyboard!)

Package Sidebar

Install

npm i fuck-npm

Weekly Downloads

7

Version

2.0.0

License

MIT

Unpacked Size

5.02 kB

Total Files

8

Last publish

Collaborators

  • kamilmielnik