Store Your Code Now
Tools: String Manipulations Find Dupes My IP Json Formatter Lorem Ipsum More...
Discussion Options

Delete node_modules on Windows: Delete Windows Long Paths

10/21/2016 8:03:27 PM by: CodeLocker

This is a simple npm tool to delete long node_modules paths on windows.

 

http://www.nikola-breznjak.com/blog/javascript/nodejs/how-to-delete-node_modules-folder-on-windows-machine/

View Copy: Content Copied
//install the tool - can be done anywhere (I think it global)
npm install rimraf -g

//navigate to the parent of node_modules
rimraf node_modules

//if that fails, go into node_modules and delete folders one by one
rimraf grunt-something-seomthing-stupid-long-name-thing
Copy: Content Copied
×

Get Coding

Store your first code or add more code to your collection.
You must login to report abuse. ×