If you face problem in deleting your node_modules folder while creating application using npm, then you can use this easy way to get rid of the node_modules folder. It solves the issue of Source path too long in windows explorer. This is a short tutorial explaining the usage of rimraf to delete folder directly from command prompt.