我试图用硬帽来汇编这一聪明合同,我正在发现这一错误。
缩略语
contracts/FlashSwap.sol:7:1: ParserError: Source "node_modules/hardhat/console.sol" not
found: File outside of allowed directories.
import "../node_modules/hardhat/console.sol";
^-------------------------------------------^
Error HH600: Compilation failed
The thing is I already have this in first line of my code and still getting the error
//SPDX-License-Identifier: Unlicense
pragma solidity >=0.6.6;
import "../node_modules/hardhat/console.sol";