Getting an error while running 'deploy.js' #5240
kartikver15gr8
started this conversation in
General
Replies: 2 comments 5 replies
-
i've got the same problem try const provider = new ethers.JsonRpcProvider(
"http://127.0.0.1:7545"
); |
Beta Was this translation helpful? Give feedback.
1 reply
-
@kartikver15gr8 Use ethers version below 6, 6 is in beta for now. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm learning Blockchain through @PatrickAlphaC's FCC 32 hours long video and I'm currently at time-stamp
7:10:01 / 1:07:54:30
At this time stamp, Patrick is teaching 'ethers.js' and he runs
deploy.js
and was able to run it successfully.but when I tried to run my
deploy.js
using the commandnode deploy.js
through the terminal it showed me this error:The code I've written in
deploy.js
is :Can someone tell me where's the problem, I guess my
JsonRpcProvider
is able read but please let me know what should I do?Thank You!!
Beta Was this translation helpful? Give feedback.
All reactions