Lesson 5 Ethers.js Simple Storage: Minute 7:20 #1002
Answered
by
krakxn
FernandoJ1995
asked this question in
Q&A
-
I am trying to deploy my Simple Storage contract and keep encountering the following error. Have been trying to figure it out for some time now and really having trouble with it. fernando@DESKTOP-I312HEC:~/folder/hh-fcc/ethers-simple-storage$ node deploy.js
Here is the deployment transaction:
ReferenceError: contract is not defined
at main (/home/fernando/folder/hh-fcc/ethers-simple-storage/deploy.js:23:15)
at Object.<anonymous> (/home/fernando/folder/hh-fcc/ethers-simple-storage/deploy.js:42:1)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 I have tried multiple solutions but nothing has worked, can anybody help me? |
Beta Was this translation helpful? Give feedback.
Answered by
krakxn
Jul 16, 2022
Replies: 2 comments 2 replies
-
Send the code for deploy.js with three backticks before and after the code. Thanks |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
FernandoJ1995
-
@FernandoJ1995 Please see How to Ask a Question Guide, and ask again with a more clear question. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Send the code for deploy.js with three backticks before and after the code. Thanks