Giter Site home page Giter Site logo

Comments (6)

ggrieco-tob avatar ggrieco-tob commented on May 21, 2024

You need to have ganache-cli working, otherwise etheno will fail. Which error you have when running the command directly?

from etheno.

BarrySauce avatar BarrySauce commented on May 21, 2024

@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:
Screenshot 2022-04-13 at 3 08 49 PM
Screenshot 2022-04-13 at 3 09 16 PM

from etheno.

ggrieco-tob avatar ggrieco-tob commented on May 21, 2024

Uhm, interesting. Can you please open an issue showing that error in the ganache repository: https://github.com/trufflesuite/ganache/issues ?

from etheno.

BarrySauce avatar BarrySauce commented on May 21, 2024

@ggrieco-tob Yes sir, I created a discussion post on ganache repo, you can refer to this link: trufflesuite/ganache#2875
I will switch to node 12.0.0 and try it again 👍

from etheno.

BarrySauce avatar BarrySauce commented on May 21, 2024

@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:

Screenshot 2022-04-13 at 5 37 40 PM

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:

  1. The Ganache-cli I use currently is the newest version v7.0.4, Etheno may not be compatible with this new version.
  2. I am currently use python3 version v3.7.8, the pip verison I use is 22.0.4, Etheno may not be compatible with this python 3 version.

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).

from etheno.

BarrySauce avatar BarrySauce commented on May 21, 2024

I tried Ganache-cli in my node 16, and used it with Etheno together, it can work properly now

from etheno.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.