Error Installing caniuse-cmd
aindriu80 opened this issue · 2 comments
aindriu80 commented
Hi,
I'm running Pop 22.04 with ZSH. I've tried running npm install -g caniuse-cmd
and sudo npm install -g caniuse-cmd
but I am getting installation error messages -
sudo npm install -g caniuse-cmd
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects clone -b config-booleans ssh://git@github.com/sgentle/yargs.git /root/.npm/_cacache/tmp/git-cloneJvCgYn --recurse-submodules --depth=1
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-cloneJvCgYn': Permission denied
I've npm 8.13.2
jacobwardio commented
Same issue here, using npm 8.19.2.
debug-cli commented
Same issue here, using npm 8.19.2.
Using 8.5.1, and this repository hasn't been committed since 9 years