Giter VIP home page Giter VIP logo

Comments (1)

SloboZjalic avatar SloboZjalic commented on March 29, 2024

Hi, I have the same problem, i tried npx truffle migrate etc but i keep on getting same error.

PS C:\Users\S Zjalic\Desktop\CRYPTO\coding\EATBLOCKS\AAVEFLASH\EATPROJECTS\30-make-arbitrage-script-run-247 - Copy> npx truffle migrate
npm WARN config global --global, --local are deprecated. Use --location=global instead.

Compiling your contracts...

Compiling @openzeppelin/contracts/token/ERC20/IERC20.sol
Compiling .\contracts\Flashloan.sol
Compiling .\contracts\IUniswapV2Router01.sol
Compiling .\contracts\IUniswapV2Router02.sol
Compiling .\contracts\IWeth.sol
Compiling .\contracts\Migrations.sol
Compiling .\contracts\IUniswapV2Router01.sol
Compiling .\contracts\IUniswapV2Router02.sol
Compiling .\contracts\IWeth.sol

CompileError: /C/Users/S Zjalic/Desktop/CRYPTO/coding/EATBLOCKS/AAVEFLASH/EATPROJECTS/30-make-arbitrage-script-run-247 -
Copy/contracts/Flashloan.sol:3:1: ParserError: Source "zeppelin-solidity/contracts/ownership/Ownable.sol" not found: File import callback not supported
import "zeppelin-solidity/contracts/ownership/Ownable.sol";
^---------------------------------------------------------^
,/C/Users/S Zjalic/Desktop/CRYPTO/coding/EATBLOCKS/AAVEFLASH/EATPROJECTS/30-make-arbitrage-script-run-247 - Copy/contracts/Flashloan.sol:4:1: ParserError: Source "@studydefi/money-legos/dydx/contracts/DydxFlashloanBase.sol" not found: File import callback not supported
import "@studydefi/money-legos/dydx/contracts/DydxFlashloanBase.sol";
^-------------------------------------------------------------------^
,/C/Users/S Zjalic/Desktop/CRYPTO/coding/EATBLOCKS/AAVEFLASH/EATPROJECTS/30-make-arbitrage-script-run-247 - Copy/contracts/Flashloan.sol:5:1: ParserError: Source "@studydefi/money-legos/dydx/contracts/ICallee.sol" not found: File import callback not supported
import "@studydefi/money-legos/dydx/contracts/ICallee.sol";
^---------------------------------------------------------^
,/C/Users/S Zjalic/Desktop/CRYPTO/coding/EATBLOCKS/AAVEFLASH/EATPROJECTS/30-make-arbitrage-script-run-247 - Copy/contracts/Flashloan.sol:6:1: ParserError: Source "@studydefi/money-legos/kyber/contracts/KyberNetworkProxy.sol" not found: File import callback not supported
import { KyberNetworkProxy as IKyberNetworkProxy } from '@studydefi/money-legos/kyber/contracts/KyberNetworkProxy.sol';
^---------------------------------------------------------------------------------------------------------------------^

Compilation failed. See above.
at run (C:\Users\S Zjalic\node_modules\truffle\build\webpack:\packages\compile-solidity\run.js:53:1)
at Object.sourcesWithDependencies (C:\Users\S Zjalic\node_modules\truffle\build\webpack:\packages\compile-solidity\index.js:121:58)
at necessary (C:\Users\S Zjalic\node_modules\truffle\build\webpack:\packages\compile-solidity\index.js:72:1)
at C:\Users\S Zjalic\node_modules\truffle\build\webpack:\packages\workflow-compile\index.js:33:1
at async Promise.all (index 0)
at compile (C:\Users\S Zjalic\node_modules\truffle\build\webpack:\packages\workflow-compile\index.js:23:1)
at Object.compile (C:\Users\S Zjalic\node_modules\truffle\build\webpack:\packages\workflow-compile\index.js:66:45)
at Object.compileAndSave (C:\Users\S Zjalic\node_modules\truffle\build\webpack:\packages\workflow-compile\index.js:92:45)
at Object.run (C:\Users\S Zjalic\node_modules\truffle\build\webpack:\packages\core\lib\commands\migrate.js:204:1)
at Command.run (C:\Users\S Zjalic\node_modules\truffle\build\webpack:\packages\core\lib\command.js:136:1)
Truffle v5.1.65 (core: 5.1.65)
Node v16.15.1

from eattheblocks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.