Lesson 5 : Ether.js - could not launch deploy.js #256
-
Hello when i launch node deploy.js , i get an error.
this is the code of deploy.js
And this is the console output
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
In my case, and it should be similar in your case as well while using Ganache with WSL, the network address usually changes from the localhost address i.e "http://127.0.0.1:7545" to something else like "HTTP://172.23.48.1:7545" |
Beta Was this translation helpful? Give feedback.
-
I wouldn't even touch ganache in general. It's time-consuming to set up + it will be irrelevant for the next sections. Many others here seem to run into the same errors with ganache, so it's no common error. From someone who tried everything with the same WSL setup: Don't waist your time and move on to hardhat, however, I would still learn the basics from this section, since they kind of correlate to the later sections. Start running tests when you arrive in the hardhat section. Ganache is just crap. |
Beta Was this translation helpful? Give feedback.
In my case, and it should be similar in your case as well while using Ganache with WSL, the network address usually changes from the localhost address i.e "http://127.0.0.1:7545" to something else like "HTTP://172.23.48.1:7545"