sgentle/caniuse-cmd

Error Installing caniuse-cmd

aindriu80 opened this issue · 2 comments

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

Same issue here, using npm 8.19.2.

Same issue here, using npm 8.19.2.

Using 8.5.1, and this repository hasn't been committed since 9 years