Skip to content

Error: Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.7.2) #6103

Answered by tusharr1411
Jatin40 asked this question in Q&A
Discussion options

You must be logged in to vote

I think you are using Ganache Application for your network connection. Please make sure ganache app is running while you are are trying to deploy... and you have to updae yourprivate key in your code for ganache network connection whenever you closed Ganache. The private keys provided by ganache are not permanent. Once you closed the Ganache Application the private keys become invalid.... Ganache provides new private keys everytime you relaunch the ganache.

You can also use ganache in terminal...
In a new terminal type : ganache and hit enter. This will run ganache server in your terminal. Here you will get some accounts and private keys for development. You can use these private keys al …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Jatin40
Comment options

@tusharr1411
Comment options

Answer selected by Jatin40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants