Open joelamouche opened 1 year ago
once check version used in .sol files and package.json, must use same version.Fix to one version and develop projects :)
@mujahid002 the versions of what are you referring to please?
@mujahid002 the versions of what are you referring to please?
I use ^0.8.6, try to use >=0.8.0 and while using any frameworks like truffle,hardhat once check solidity version in package.json
What package are you refering to when you say you use ^0.8.6 ?
@mujahid002 I understand there is some discrepancy between package versions, but I'm having a bit of a struggle figuring out the correct configuration. Would you mind providing more information? Thanks.
I have same error. How can fix it?
While importing packages please check it whether its correctly importing from node_modules!
For eg: import "../../node_modules/zeppelin-solidity/contracts/math/SafeMath.sol";
Even after building with forge, I get these errors when running
yarn coverage
: