devbootstrap / flashloan-arbitrage-money-legos

A flashloan arbitrage example using money legos
94 stars 46 forks source link

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

Open hlairboltons opened 3 years ago

hlairboltons commented 3 years ago

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