Is it safe to delete the npm-cache folder on Windows?

npm cache clean -fcannot clear the folder npm_cachelocated along the path C:\Users\jerry\AppData\Roaming\npm-cache. Although it cleans some files in this folder.

Command output: npm WARN sure hope you know what you are doing.

However, the Node.js page says that the clean command will delete all data from the cache folder.

So why is this not happening? Would it be nice if I manually deleted the folder?

I'm on Windows 10 with host 8.7.0

+8
source share
1 answer

Yes, it is safe, I manually deleted the npm and npm-cache folder and reinstalled the node, it works fine.

0
source

Source: https://habr.com/ru/post/1688633/


All Articles