-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with yarn coverage #36
Comments
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? |
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
:The text was updated successfully, but these errors were encountered: