npm cache clean -f
is not able to clear the npm_cache
folder located at the path C:\Users\jerry\AppData\Roaming\npm-cache
. Though it clears some of the files in this folder.
Output of command: npm WARN I sure hope you know what you are doing.
However, Node.js page says clean command will delete all data out of the cache folder.
So, why is it not happening? Would it be okay if I manually delete the folder?
I'm on Windows 10 with node 8.7.0
Yes it is safe, I have deleted npm and npm-cache folder manually and reinstall node its working fine.
for Window 7 8 10 user
Run this:
md C:\npm-cache
And then:
npm config set cache C:\npm-cache
Its Working For me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With