sgentle / caniuse-cmd

Caniuse command line tool
MIT License
1.62k stars 51 forks source link

Error Installing caniuse-cmd #27

Open aindriu80 opened 2 years ago

aindriu80 commented 2 years ago

Hi,

I'm running Pop 22.04 with ZSH. I've tried running npm install -g caniuse-cmdand 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 1 year ago

Same issue here, using npm 8.19.2.

debug-cli commented 4 months ago

Same issue here, using npm 8.19.2.

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