Closed Mohammad-Ahadinejad closed 2 months ago
same on my side
same here
same
I have the same issue.
Oh thank god, I'm not the only one.
run these command to get the lib files.
forge install transmissions11/solmate@v7 --no-commit
forge install OpenZeppelin/openzeppelin-contracts@v4.9.2 --no-commit
forge install sablier-labs/v2-core@v1.0.2 --no-commit
forge install PaulRBerg/prb-math --no-commit
forge install foundry-rs/forge-std --no-commit
please also note that if you try to use forge update, it deletes some openzeppelin files that are needed, if you do use forge update
just use the command make init
and it will add them back in.
i am currently getting another issue which is: Found incompatible Solidity versions:
to all the imported lib files.
git clone https://github.com/Cyfrin/2024-08-fjord
forge install transmissions11/solmate@v7 --no-commit forge install OpenZeppelin/openzeppelin-contracts@v4.9.2 --no-commit forge install sablier-labs/v2-core@v1.0.2 --no-commit forge install PaulRBerg/prb-math --no-commit forge install foundry-rs/forge-std --no-commit
cp -iv .env.example .env
.everything worked fine for me . I can build or test the project with forge build
and forge test
I didn't have "Found incompatible Solidity versions" error as @EyanIngles mentioned.
sorry i have fixed my own issue, what was happening is that i was using the command make init
, which must of been installing the lib files differently but re-ran the command above, it works. very strange but fixed now.
I use "make init" command and have no error, but lib folder is still empty, therefore I cant build or test the project.