loom-truffle-provider
loom-truffle-provider copied to clipboard
Error on install
Hi, I get the following error when executing:
npm install loom-truffle-provider
The error:
npm ERR! code 1
npm ERR! git dep preparation failed
npm ERR! command /home/user/.nvm/versions/node/v14.17.5/bin/node /home/user/.nvm/versions/node/v14.17.5/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/user/.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
My node version is 14.17.5
and npm is 7.20.6
.
It is a clean project with no other dependencies with Truffle installed globally. The only local dependency is "@truffle/hdwallet-provider": "^2.0.0"
i meet it too! do you have resolved it?
https://github.com/loomnetwork/loom-truffle-provider/issues/17#issuecomment-894071189
i also resove it with npm i [email protected]