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
npm install -g rimraf
Note: If you faced any issues try running the command again and it should work
Hope this helps someone like it did for me!!