Ever faced the problem of deleting files/folders on windows when working with nodejs modules.
Nodejs has a plugin that can with that pesky windows file name too long error, its called rimraf and can be downloaded from npm :
npm install -g rimraf
And then simply run the plugin from command line as we usually do with nodejs modules
C:>rimraf <dir>
That’s all!
i suggest that you use “Long Path Tool” its an amazing tool google it AND will solve your problem