loom-js icon indicating copy to clipboard operation
loom-js copied to clipboard

Can't install it with npm

Open gyl89 opened this issue 2 years ago • 3 comments

After npm install loom-js , I get the error

npm ERR! git dep preparation failed
npm ERR! command /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/gilles/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm ERR! code 1
npm ERR! npm ERR! The git reference could not be found
npm ERR! npm ERR! command git --no-replace-objects checkout 4.0
npm ERR! npm ERR! error: pathspec '4.0' did not match any file(s) known to git

I'm using Ubuntu 20.04. I tried before and after a git init (as this error seems somehow related to git)

gyl89 avatar Jul 13 '22 16:07 gyl89

Same with me, not sure why it happens.

i-asimkhan avatar Oct 01 '22 06:10 i-asimkhan

can't install at mac

qizeng19 avatar Oct 17 '22 01:10 qizeng19

same

wil-se avatar Nov 05 '22 21:11 wil-se