Closed JayAlwaysCodes closed 2 years ago
CompilerError: solc returned the following errors:
contracts/FundMe.sol:5:1: ParserError: Source "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol" not found: File outside of allowed directories. import "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol"; ^--------------------------------------------------------------------------^
contracts/FundMe.sol:6:1: ParserError: Source "@chainlink/contracts/src/v0.6/vendor/SafeMathChainlink.sol" not found: File outside of allowed directories. import "@chainlink/contracts/src/v0.6/vendor/SafeMathChainlink.sol"; ^------------------------------------------------------------------^
restarted my vscode and it compiled correctly though I'm still getting the red highlight on the '@chainlink.......'
CompilerError: solc returned the following errors:
contracts/FundMe.sol:5:1: ParserError: Source "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol" not found: File outside of allowed directories. import "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol"; ^--------------------------------------------------------------------------^
contracts/FundMe.sol:6:1: ParserError: Source "@chainlink/contracts/src/v0.6/vendor/SafeMathChainlink.sol" not found: File outside of allowed directories. import "@chainlink/contracts/src/v0.6/vendor/SafeMathChainlink.sol"; ^------------------------------------------------------------------^