Network error deploy.js deployment problem #6126
Unanswered
tejanagendramolleti
asked this question in
Q&A
Replies: 1 comment
-
You have for sure incorrectly configured setup in your code. Are you using following |
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
Uh oh!
There was an error while loading. Please reload this page.
-
{ reason: 'could not detect network', code: 'NETWORK_ERROR', event: 'noNetwork' }
I have problem with deployment of deploy.js which is in lesson 5 which executes simplestorage.sol I am getting this error
`tej@TEJ:~/hh-fcc/ethers-simple-storage$ node deploy.js
Deploying, please wait..
Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.4.0)
at Logger.makeError (/home/tej/hh-fcc/ethers-simple-storage/node_modules/ethers/node_modules/@ethersproject/providers/node_modules/@ethersproject/logger/lib/index.js:238:21)
at Logger.throwError (/home/tej/hh-fcc/ethers-simple-storage/node_modules/ethers/node_modules/@ethersproject/providers/node_modules/@ethersproject/logger/lib/index.js:247:20)
at JsonRpcProvider. (/home/tej/hh-fcc/ethers-simple-storage/node_modules/ethers/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:490:54)
at step (/home/tej/hh-fcc/ethers-simple-storage/node_modules/ethers/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23)
at Object.throw (/home/tej/hh-fcc/ethers-simple-storage/node_modules/ethers/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:29:53)
at rejected (/home/tej/hh-fcc/ethers-simple-storage/node_modules/ethers/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:21:65)
{
reason: 'could not detect network',
code: 'NETWORK_ERROR',
event: 'noNetwork'
}`
I have already tried downgrading my ethers module. present i am using ethers 5.5.3 version
Beta Was this translation helpful? Give feedback.
All reactions