If you have done node application development in windows machine often you might have faced issue where the node_modules directory which you created would not delete when you try to delete.
Node’s approach to package management is often criticized because of its endless nested modules folders on windows.
To solve this issue you can use the rimraf create by Nikola Breznjak by following below steps
Install rimraf
npm install -g rimraf
Delete node_modules
rimraf node_modules
Note: If you faced any issues try running the command again and it should work
Hope this helps someone like it did for me!!
Leave a Reply