0

I'm new to coding and I'm just doing the cryptozombies.io tutorial. I finished all my contracts and need to now deploy the contract on loom.

I use:

node: v16.17.1 ubuntu: Ubuntu 20.04.5 LTS npm: 9.4.2

I installed truffle, axios, bn.js using npm with no problem. However, when I run npm install loom-truffle-provider

I get the following error

npm ERR! code 1 npm ERR! git dep preparation failed npm ERR! command /home/mwisni/.nvm/versions/node/v16.17.1/bin/node /home/mwisni/.nvm/versions/node/v16.17.1/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/mwisni/.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 npm ERR! npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! npm ERR! /home/mwisni/.npm/_logs/2023-02-15T22_06_57_897Z-debug-0.log

npm ERR! A complete log of this run can be found in: npm ERR! /home/mwisni/.npm/_logs/2023-02-15T22_06_27_913Z-debug-0.log

How can I get to install my loom? Any help will be greatly appreciated. :)

I tried to uninstall and reinstall loom-truffle-provider

I tired npm cache clean --force

I tired different wifi connections as well so the network is not a problem.

micwis108
  • 1
  • 2

0 Answers0