trufflesuite / ganache-ui

Personal blockchain for Ethereum development
https://www.trufflesuite.com/ganache
MIT License
4.65k stars 798 forks source link

Ganache not opening in Ubuntu 16.04! #1340

Open agericke opened 5 years ago

agericke commented 5 years ago

Expected Behavior

Ganache GUI should open in Ubuntu 16.04 virtual machine.

Current Behavior

I have been using Ganache GUI for several months. I tried to open it by clicking on the ganache Icon, the Ganache Icon will show on the left bar as if it were opening but after a few seconds dissapears and nothing opens. I have tried to remove ganache AppImage by deleting the AppImage file and unistalling the application through Software Ubuntu. Then I have tried to reinstall it downloading again the Ganache 2.0.2 AppImage, change the permissions so that it has execution permission, tried to open it but nothing happens.

Only it will show the message for integrating the application to Linux but it won't open. I have tried to execute it by clicking the Icon and also execute it from terminal but doesn't work neither way.

I have not run any updates or upgrades of Ganache as far as I now.

I have try to download and execute version 2.0.1 of Ganache but I have the same problem.

Steps to Reproduce (for bugs)

  1. Download Ganache App Image
  2. Add execution permissions with chmod +x
  3. Execute Ganache App Image
  4. It won't show anything.

Your Environment

agericke commented 5 years ago

I manage to solve it.

I was having other issues trying to install npm packages because of node-gyp problems. Even after erasing all Ganache files and reinstalling Ganache, was still not working.

Nevertheless, once I resolve the node-gyp problems by following unreal0comment in the issue #https://github.com/nodejs/node-gyp/issues/132, I was able to correctly install npm packages.

Then I tried again to reinstall Ganache and execute and finally it worked!

So I guess when executing Ganache it was trying to execute some node-gyp related code or command and was generating that Ganache would not run.