-
Hey there everyone. I'm really enjoying this course. journey to being an avid Smart Contract/Blockchain Software Engineer courtesy of @PatrickAlphaC and freecodecamp course. Compiler Error : solc returned the following errors : INFO: Could not find files for the given pattern(s). Compiling contracts... contracts/FundMe.sol:5:1: ParserError: Source "smartcontractkit/[email protected]/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol" not found: File not found. contracts/FundMe.sol:6:1: ParserError: Source "smartcontractkit/[email protected]/contracts/src/v0.6/vendor/SafeMathChainlink.sol" not found: File not found. dependancies: - <organisation/repo>@
FundMe.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.6; import "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol"; contract FundMe {
} Kindly assist how to resolve this error. Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
My apologies after a while... I had a typo dependancies -> dependencies but it has a Warning should I be worried. INFO: Could not find files for the given pattern(s). 865kiB [00:02, 409kiB/s] Compiling contracts...
|
Beta Was this translation helpful? Give feedback.
My apologies after a while...
I had a typo dependancies -> dependencies but it has a Warning should I be worried.
INFO: Could not find files for the given pattern(s).
Brownie v1.16.3 - Python development framework for Ethereum
865kiB [00:02, 409kiB/s]
WARNING: Unable to compile smartcontractkit/[email protected] due to a UnicodeDecodeError - you may still be able to import sources from the package, but will be unable to load the package directly.
Compiling contracts...
Solc version: 0.6.12
Optimizer: Enabled Runs: 200
EVM Version: Istanbul
Generating build data...