On Windows System we can install modules thanks to nmp.exe. But problem is begining when we try to remove folder contained files from installed packages. During deleting operation Windows can’t delete the folder as its name is too long and we’ve got following message “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“.
To solve this:
1. Install RimRaf:
npm install rimraf -g
2. And in the project folder delete the node_modules folder easily with: