flashloan-arbitrage-money-legos icon indicating copy to clipboard operation
flashloan-arbitrage-money-legos copied to clipboard

Error when compiling contracts - ParserError: Source "@studydefi/money-legos/aave/contacts/ILendingPool.sol" not found: File import callback not supported

Open hlairboltons opened this issue 3 years ago • 0 comments

Hello I get this error when trying to compile my contracts

Compiling your contracts...

Compiling @openzeppelin/contracts/token/ERC20/IERC20.sol Compiling .\contracts\FlashloanMoneyLego.sol Compiling .\contracts\Migrations.sol

/C/Users/Blair/Documents/Code/flashloan_arbitrage_bot/money-legos/flashloan-arbitrage-money-legos/contracts/FlashloanMoneyLego.sol:5:1: ParserError: Source "@studydefi/money-legos/aave/contacts/ILendingPool.sol" not found: File import callback not supported import "@studydefi/money-legos/aave/contacts/ILendingPool.sol"; ^-------------------------------------------------------------^ ,/C/Users/Blair/Documents/Code/flashloan_arbitrage_bot/money-legos/flashloan-arbitrage-money-legos/contracts/FlashloanMoneyLego.sol:6:1: ParserError: Source "@studydefi/money-legos/aave/contacts/IFlashLoanReciever.sol" not found: File import callback not supported import "@studydefi/money-legos/aave/contacts/IFlashLoanReciever.sol"; ^-------------------------------------------------------------------^ ,/C/Users/Blair/Documents/Code/flashloan_arbitrage_bot/money-legos/flashloan-arbitrage-money-legos/contracts/FlashloanMoneyLego.sol:7:1: ParserError: Source "@studydefi/money-legos/aave/contacts/FlashloanRecieverBase.sol" not found: File import callback not supported import "@studydefi/money-legos/aave/contacts/FlashloanRecieverBase.sol"; ^----------------------------------------------------------------------^ ,/C/Users/Blair/Documents/Code/flashloan_arbitrage_bot/money-legos/flashloan-arbitrage-money-legos/contracts/FlashloanMoneyLego.sol:8:1: ParserError: Source "@studydefi/money-legos/aave/contacts/IUniswapFactory.sol" not found: File import callback not supported import "@studydefi/money-legos/aave/contacts/IUniswapFactory.sol"; ^----------------------------------------------------------------^ ,/C/Users/Blair/Documents/Code/flashloan_arbitrage_bot/money-legos/flashloan-arbitrage-money-legos/contracts/FlashloanMoneyLego.sol:9:1: ParserError: Source "@studydefi/money-legos/aave/contacts/IUniswapExchange.sol" not found: File import callback not supported import "@studydefi/money-legos/aave/contacts/IUniswapExchange.sol"; ^-----------------------------------------------------------------^

Compilation failed. See above. Truffle v5.3.12 (core: 5.3.12) Node v16.2.0

hlairboltons avatar Jun 25 '21 01:06 hlairboltons