Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install it with npm #359

Open
gyl89 opened this issue Jul 13, 2022 · 3 comments
Open

Can't install it with npm #359

gyl89 opened this issue Jul 13, 2022 · 3 comments

Comments

@gyl89
Copy link

gyl89 commented Jul 13, 2022

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)

@i-asimkhan
Copy link

Same with me, not sure why it happens.

@qizeng19
Copy link

can't install at mac

@wil-se
Copy link

wil-se commented Nov 5, 2022

same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants