aletheia-foundation / aletheia-app

Alethia peer to peer publishing platform
http://aletheia-foundation.io/
GNU General Public License v3.0
48 stars 11 forks source link

Encountered truffle migrate error when using npm run electron:serve #90

Open koltclassic opened 6 years ago

koltclassic commented 6 years ago

I confirm:


Report bugs - delete this section if not reporting a bug

There is currently an error when running npm run electron:serve on the latest app version that prevents any UI from rendering. This issue seems to be different from https://github.com/aletheia-foundation/aletheia-app/issues/87. Below is a screenshot of my developer tools and the issue in question.

screen shot 2018-05-09 at 8 02 01 am

The error recommends running truffle migrate. It seems like it may be a good idea to handle this in a better way, such as by prompting the user in the UI and including troubleshooting directions in the README.

cchrs commented 6 years ago

I have the same issue when running npm run electron:serve. I also tried to manually migrate the contracts to the test net and always get the following error:

image

Could be the origin of the error above.