jklepatch / eattheblocks

Source code for Eat The Blocks, a screencast for Ethereum Dapp Developers

Home Page:https://eattheblocks.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

./build/contracts/MyContract.json missing from screencast/264-intro-to-ethersj

loekTheDreamer opened this issue · comments

./build/contracts/MyContract.json is missing from the project screencast/264-intro-to-ethers
Still very new to this crypto programming.
It would be really helpful to see what is inside or how to make it.
Thank you for your time.

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

ezoic increase your site revenue