'npm cache clean' not working angular VS Code as IDE

Viewed 35591

npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead. npm ERR! npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\janak\AppData\Roaming\npm-cache_logs\2017-08-11T04_38_31_995Z-debug.log

3 Answers

Run the same command and just add --force or -f with it.

npm cache clean --force or npm cache clean -f

This error shows because you are accessing project on client terminal. please open terminal in administration mode and hit npm cache clean command.

Related