Replies: 1 comment
-
The interface of ethers has changed in the latest version -const provider = new ethers.providers.JsonRpcProvider(RPC_SERVER);
+const provider = new ethers.providers.JsonRpcProvider(RPC_SERVER); |
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
-
TypeError: Cannot read properties of undefined (reading 'JsonRpcProvider') at main (/home/nivedkp001/hh-fcc/ethers-simple-storage/deploy.js:6:43) at Object. (/home/nivedkp001/hh-fcc/ethers-simple-storage/deploy.js:19: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
Beta Was this translation helpful? Give feedback.
All reactions