Lesson-9:Source "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol" not found: File not found. Searched the following locations: "".solidity(6275) #4292
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
hi, it's because of your solidity extension in your vs code, you can ignore that it's bug somtimes happens. |
Beta Was this translation helpful? Give feedback.
-
I get a similar error: "C:/Users/User/.brownie/packages/smartcontractkit/chainlink-brownie-contracts@0.6.1/contracts/src/v0.8/vrf/VRFConsumerBaseV2.sol" not found: File not found. Searched the following locations: "". Mine does not compile. Does this have something to do with the dependency '0.6.1'? I also note that the end of my error code is a bit different from MrPointSun's. The file I am attempting to compile is VRFV2Wrapper.sol. And I am doing so with the line, import "@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2.sol"; |
Beta Was this translation helpful? Give feedback.
hi, it's because of your solidity extension in your vs code, you can ignore that it's bug somtimes happens.
important thing is you can compile it successfully