This repository has been archived by the owner on May 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 128
Deploying the contract wont work. 7:07:25. Any help would be greatly appreciated. #63
Comments
The newer version of Ethers seems to be unstable ethers 6.0.2... To solve this error downgrade your ethers version to 5.7.2 by going to your package.json "ethers": "5.7.2", now on your cli use npm install [email protected] or yarn add [email protected] depending on your package manager and that should solve your error. |
@mishdgr8 Thank you so much! This worked for me! I appreciate the help! Now I can move forward! Thank you again! |
@mishdgr8 @egutierrez130 I did change the ethers version as mentioned but after that its throwing a new error:
pls help |
Try this. Worked for me. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey all, for some reason, when I run this in the terminal --> node deploy.js
It will not deploy the contract.
It is throwing this TypeError: Cannot read properties of undefined (reading 'JsonRpcProvider')
at main (/Users/edgargutierrez/hh-fcc/ethers-simple-storage-fcc/deploy.js:8:41)
at Object. (/Users/edgargutierrez/hh-fcc/ethers-simple-storage-fcc/deploy.js:18:1)
Any help would be greatly appreciated.
ps. I have redone the lesson and made sure all code is correct. My guess is that something is now outdated since 0.8.7 was a long time ago.
The text was updated successfully, but these errors were encountered: