23 Aug 2022
forge install some-repo command then get
fatal: Not a git repository (or any of the parent directories)error. Because there are no .git folder!
Solve the problem by run
forge init (or
forge init --force)
17 Aug 2022
There is a fast way to remove node_modules folder, which can help us save mamory wonderfully.
npx npkill in terminal
- Select folder you want to delete and press SPACE key ! How simple is it ?
16 Aug 2022
I encounter error like picture when click button which used to connect wallet extension in AWS ubuntu environment :
This error appears if open web by using http not https. Establish SSL connection and become https, problem solved !
13 Aug 2022
Run slither command then encounter error like :
Error: Source "@openzeppelin/contracts/access/Ownable.sol" not found: File not found. Searched the following locations: "".
Solution : add some flag behind original command
slither contracts/YOUR_CONTRACT.sol --solc-remaps @openzeppelin/=$(pwd)/node_modules/@openzeppelin/
13 Aug 2022
Error: Hydration failed because the initial UI does not match what was rendered on the server.
I encounter this problem after modify my folder location, and I solve this by cleaning the browser cache & to delete .next folder .