Skip to content

using forge init throws an error #4076

Answered by ghost
Love4codes asked this question in Q&A
Discussion options

You must be logged in to vote

I success,the reason is git.you can try run 'git status' first,then run 'git add -u',and mkdir new empty folder,then run

$ forge init --template https://github.com/foundry-rs/forge-template hello_template

then,you can see the forge lib-std and sol will here.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Love4codes
Comment options

Answer selected by Love4codes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant