0

Npm ERR! Please run npm cache clean

I'm trying to install IPFS from here npm install ipfs --save and it is giving me the error as

npm ERR! tar.unpack error reading /media/FLASH/Tech/IPFS/ipfs

npm ERR! Linux 4.15.0-29-generic

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "ipfs" "--save"

npm ERR! Please run npm cache clean

robert
asked Oct 1, 2021
1 Answer
0

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, then use

npm cache verify

if you're debugging an issue with the installer, you can use

install --cache /tmp/empty-cache

If you're sure you want to delete the entire cache, rerun:

npm cache clean --force

View More
linuxhelp
answered Oct 1, 2021
Your Answer
||||
 
100:0

Related News in Npm ERR! Please run npm cache clean

Related News in Npm ERR! Please run npm cache clean