I have an odd issue here, so I deleted most of my npm
packages on my C drive since I am moving them all to my external hard drive. I decided to do this because I realize whenever I would install a package globally it would always install it on my C drive even though I changed the prefix.
Anyways after setting up my prefix and deleting all the files that were npm
related on my C drive I still have over a 100 gig of data that should be available.
Why is there so much data that got took by npm? My programs alone only was about a few gigs.
So I'm very confused as to why. I have Windows 8.
EDIT
C:\Users\Niloy>npm cache clean
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! H:\node.js\npm-cache\_logs\2017-11-09T19_16_27_483Z-debug.log
also using
npm cache verify
C:\Users\Niloy>npm cache verify
Cache verified and compressed (H:\node.js\npm-cache\_cacache):
Content verified: 0 (0 bytes)
Index entries: 0
Finished in 0.516s