The file name you specified is not valid or too long. Solution
npm and the deeply nested
Use npm to install the rimraf package. Rimraf is a handy tool that mimics the Unix command
rm with the parameter
rm -rf which is used to remove all files in a directory. Make sure you install rimraf globally with -g.
npm install -g rimraf
Now you can simply target the stubron project or directory that’s causing the The file name you specified is not valid or too long error and wipe it away.
rimraf <your directory>
rimraf with care, as it is very unforgiving. Don’t point rimraf at anything you don’t wish to completely elimante from your disk.