Skip to content

Getting this error when ever i want to do npm install inside the app folder #38

@ShujaGraphy7

Description

@ShujaGraphy7

shuja@Graphy:~/Desktop/vaccineSupplychain/vac-chain/app$ git config --global url."https://".insteadOf git://

i also tried this but still having same error

shuja@Graphy:~/Desktop/vaccineSupplychain/vac-chain/app$ npm install
npm ERR! code 1
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/shuja/.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/shuja/.npm/_logs/2022-09-20T20_17_12_484Z-debug-0.log

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/shuja/.npm/_logs/2022-09-20T20_16_02_660Z-debug-0.log

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions