Lesson 3 - Get funded - can't compile using SafeMath.sol #1340
-
Hi, I have been following along without issue until now. My remixID compiler is returning an error for the import "@chainlink/contracts/src/v0.6/vendor/SafeMathChainLink.sol"; It returns: "not found @chainlink/contracts/src/v0.6/vendor/SafeMathChainLink.sol". I get the error even when I try to import safeMath from OpenZeppelein or any other repot. Is this related to the prgama declaration or version being used? Can someone please share instructions on how to fix this issue? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 20 replies
-
Hey, this is mostly due to |
Beta Was this translation helpful? Give feedback.
Hey, this is mostly due to
Solidity
versions keep them aligned in each file. You can accessChainlink
andSafeMath
and change solidity versions according to what's in your ownsmart contract
. But also if this doesn't work also keep an eye on whichcontract
you are deploying.