I was playing with Yeoman and created lots of projects in my hard drive. Then I was trying to delete them however was getting error that “The file name you specified is not valid or too long”. I found out that too many dependencies was causing the node_modules folder to cross the windows file name length limitation. There are some program which can be installed to delete the node_modules directory, however wanted a very simple solution using node itself.
You are here: / Archives for node_modules