smartcontractkit / foundry-starter-kit

MIT License
332 stars 94 forks source link

Unable to find current origin/master revision in submodule path 'lib/chainlink-brownie-contracts' #15

Open 0xPrimata opened 2 years ago

0xPrimata commented 2 years ago

Error:

fatal: Needed a single revision Unable to find current origin/master revision in submodule path 'lib/chainlink-brownie-contracts'

Reproduce:

git clone https://github.com/smartcontractkit/foundry-starter-kit cd foundry-start-kit make

Env: Windows 10 WSL2

rgottleber commented 2 years ago

Hi @SnowPrimate Are you by chance inside another git repo?

AKA a directory above foundry-start-kit is also a git repository?

I've seen this happen when that's the case as foundry uses git to install dependencies.

0xPrimata commented 2 years ago

@rgottleber Thank you very much for your response. As far as I noticed, there are no signs of git repos on the directory right above. image Here is my entire directory above foundry-start-kit. Still getting the same error.

0xAplki commented 1 year ago

i think the problem is when running make. it seems to install a different version of chainlink-brownie-contracts. Here are some workarounds that worked for me:

hope this helps! :)

not sure if anyone from the team can help us on that. I'm also just following @PatrickAlphaC 's tutorials (which is so helpful so far ❤️)