Delete node_modules folder on Windows

Sometimes Windows is not able to delete node_modules folder, because file names are larger than is supported by file system. Folder can be deleted with RimRaf, a rm -rf util for Node.js

Install RimRaf
$ npm install rimraf -g

Remove node_modules folder
$ rimraf node_modules

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.