Replies: 2 comments 1 reply
-
https://github.com/hackamman/hardhat-Lottery-unfinished this is my whole code |
Beta Was this translation helpful? Give feedback.
0 replies
-
You just forgot to import the ethers library in your network config |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am at 15:20:00 and get an error when I try to deploy. As one other discussion suggested I tried installing earlier ethers version but I still get this error. I also changed the code in both of my deploys to match the original.
Error: ERROR processing skip func of /home/jmotibabua/hh-fcc/sample/deploy/01-deployer-raffle.js:
TypeError: Cannot read properties of undefined (reading 'utils')
at Object. (/home/jmotibabua/hh-fcc/sample/helper-hardhat-config.js:7:29)
at Module._compile (node:internal/modules/cjs/loader:1226:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1280:10)
at Module.load (node:internal/modules/cjs/loader:1089:32)
at Function.Module._load (node:internal/modules/cjs/loader:930:12)
at Module.require (node:internal/modules/cjs/loader:1113:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (/home/jmotibabua/hh-fcc/sample/deploy/01-deployer-raffle.js:6:5)
at Module._compile (node:internal/modules/cjs/loader:1226:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1280:10)
at DeploymentsManager.executeDeployScripts (/home/jmotibabua/hh-fcc/sample/node_modules/hardhat-deploy/src/DeploymentsManager.ts:1100:15)
at DeploymentsManager.runDeploy (/home/jmotibabua/hh-fcc/sample/node_modules/hardhat-deploy/src/DeploymentsManager.ts:1052:16)
at SimpleTaskDefinition.action (/home/jmotibabua/hh-fcc/sample/node_modules/hardhat-deploy/src/index.ts:438:5)
at Environment._runTaskDefinition (/home/jmotibabua/hh-fcc/sample/node_modules/hardhat/src/internal/core/runtime-environment.ts:217:14)
at Environment.run (/home/jmotibabua/hh-fcc/sample/node_modules/hardhat/src/internal/core/runtime-environment.ts:129:14)
at SimpleTaskDefinition.action (/home/jmotibabua/hh-fcc/sample/node_modules/hardhat-deploy/src/index.ts:584:32)
at Environment._runTaskDefinition (/home/jmotibabua/hh-fcc/sample/node_modules/hardhat/src/internal/core/runtime-environment.ts:217:14)
at Environment.run (/home/jmotibabua/hh-fcc/sample/node_modules/hardhat/src/internal/core/runtime-environment.ts:129:14)
at SimpleTaskDefinition.action (/home/jmotibabua/hh-fcc/sample/node_modules/hardhat-deploy/src/index.ts:669:5)
at Environment._runTaskDefinition (/home/jmotibabua/hh-fcc/sample/node_modules/hardhat/src/internal/core/runtime-environment.ts:217:14)
my helper-hardhat-config.js
I won't put deploy 00 and 01 cause they are exactly as in the original repository. Does anyone know what should I do?
Beta Was this translation helpful? Give feedback.
All reactions