risc0 / risc0-foundry-template

Template for integrating RISC Zero and Ethereum using Foundry and Bonsai
https://risczero.com
84 stars 46 forks source link

Can't complete the quick start #90

Closed simonerom closed 4 weeks ago

simonerom commented 3 months ago

When running the quick start command:

forge init -t risc0/bonsai-foundry-template ./my-project

it ends with an error, see the logs below:

✔ Checking your system
✔ Initializing Project Directory
✔ Initializing Git Repository
✔ Copying Starter Files
✔ Initializing NPM Module
✔ Installing NPM Dependencies
✖ Locating custom template: "risc0/bonsai-foundry-template"

Electron forge was terminated:
Failed to locate custom template: "risc0/bonsai-foundry-template"

Try `npm install -g electron-forge-template-risc0/bonsai-foundry-template`

The npm install suggested in the code doesn't work either:

$ npm install -g electron-forge-template-risc0/bonsai-foundry-template

npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/electron-forge-template-risc0/bonsai-foundry-template.git
npm ERR! ERROR: Repository not found.
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in: /Users/simone/.npm/_logs/2024-03-26T14_45_54_864Z-debug-0.log
capossele commented 2 months ago

Maybe that is due to a broken version of foundry. Try running foundryup to update it. Source: https://book.getfoundry.sh/getting-started/installation

nategraf commented 1 month ago

@simonerom did you get a chance to try this again, after updating foundry?

nategraf commented 4 weeks ago

@simonerom, I'm going to go ahead and close this since we don't have enough info to investigate. If you have more info, feel free to reopen.