Closed BarrySauce closed 2 years ago
You need to have ganache-cli working, otherwise etheno will fail. Which error you have when running the command directly?
@ggrieco-tob Hi sir, when I directly run the 'ganache-cli' command in my terminal under node 12, there would be error occurring as below:
Uhm, interesting. Can you please open an issue showing that error in the ganache repository: https://github.com/trufflesuite/ganache/issues ?
@ggrieco-tob Yes sir, I created a discussion post on ganache repo, you can refer to this link: https://github.com/trufflesuite/ganache/discussions/2875 I will switch to node 12.0.0 and try it again 👍
@ggrieco-tob Hi sir, I switch to node 12.0.0 and install ganache-cli. Now the ganache-cli can operate properly when I directly activate it. But when I use Etheno, the same error occurs:
So currently it seems there are some problems with Etheno. By the way, after I install Etheno, when I type 'Etheno' in the terminal, it shows 'command not found', I searched on the internet and found the solution is to enter the two commands below:
$ echo "export PATH=\"python3 -m site --user-base
/bin:\$PATH\"" >> ~/.bashrc
$ source ~/.bashrc
After typing these two command, I can activate Etheno, but still it cannot work with Ganache-cli properly.
Currently the two possible reasons I can think of are:
I think the first reason might be more possible, maybe I can try installing older version of ganache (for instance, the version developed 2 years ago).
I tried Ganache-cli in my node 16, and used it with Etheno together, it can work properly now
May I know the suitable node version for using Etheno together with Ganache cli? According to the description in Etheno reame.md, I set the node version to node v.12.22.11. And I install ganache-cli to this node. However when I input the command "etheno --ganache" in the terminal, there would always be error as shown in the screenshot below:
I tried different version of Ganache-cli, but the same error keeps occurring. May I know what the problem is?
P.S. When I activate the Ganache-cli in node 12 by running "ganache-cli", there would also be error. So I also tried node v.16.14.0, the Ganache-cli can be activated, but when using together with Etheno, the same error occurs.