Security Course | PasswordStore Audit - Missing Libarires after cloning #237
Replies: 1 comment
-
Interesting, I am glad you figured that out. Thanks for the heads-up too. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This write-up aims to provide clarity for anyone experiencing issues after cloning the password repository, specifically when the folders inside the lib directory appear empty:
After cloning, enter
forge compile
If you run into any issues while compiling such as,
Issue 1:
OR
Issue 2:
To resolve
issue 1
, enter the following cmd:git config --global http.postBuffer 500000000
. This will increase the buffer size to handle larger files. Additionally, if you're using a VPN with multi-hop, DAITA, or a custom MTU, it's best to disable these features for the download. Instead, proceed with a single point of entry and exit.To resolve
issue 2
, go to the.gitmodules
file and make sure you have the following layout:After completing the previous step, enter the following cmd:
git submodule update --init --recursive
. This will initialize all submodules, effectively cloning the necessary missing modules. As a result, folders such as forge-std, foundry-devops, etc.. will no longer be empty and you will be able to successfully compile/ build.Beta Was this translation helpful? Give feedback.
All reactions