question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Electron Builder and Travis Failures

See original GitHub issue

Right now, there are quite a few issues with our build process, CI and Electron Builder:

Fetching Web UI

Currently, the latest Web UI version is not pinned to the gateway. On normal circumstances, it should not be a problem because it’s still pinned to the cluster. Although, the gateway is having issues connecting to cluster.

This makes build fails due to timeouts.

Solutions:

  1. Make webui.ipfs.io the latest released version and dev.webui.ipfs.io the latest commit. That way, both domains shall be pinned to gateway.
  2. Add a git submodule to IPFS Desktop with IPFS Web UI and build IPFS Web UI on the fly.
    • More burden when updating IPFS Web UI.

Electron Builder failing on Linux releases…

Electron builder has a bug on the latest version that makes releases fail on Travis (don’t know if it happens on other CIs). Issue opened on their repo 20 days ago. No replies yet, no activity on the repo. See electron-builder#4134.

Downgrading also implicates downgrading electron which implicates changes on the code.

There’s also the issue #1044, which I believe is caused by the beta binaries been built manually on a virtual machine I created because of this issue.

What to do?

Other points…

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
hacdiascommented, Sep 2, 2019

After running Travis+AppVeyor, I could successfully publish a 0.9.0-beta.3 prerelease which seems to indicate that our build process is fixed.

The problem with Electron Builder was, in fact, something else much easier but was buried deeper in the logs: see #1069.

0reactions
hacdiascommented, Sep 2, 2019

Will close this for now since the issues on IPFS Desktop side seem to be solved!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How run electron-builder without fail and build no stop
MacOS build runs quick and finishes successfully. Windows runs without errors, but times out. module.exports = { appId: 'com.electron.${name}', ...
Read more >
Publish - electron-builder
Travis and AppVeyor support publishing artifacts. But it requires additional configuration for each CI and you need to configure what to publish.
Read more >
electron-builder | Yarn - Package Manager
A complete solution to package and build a ready for distribution Electron app for MacOS, Windows and Linux with “auto update” support out...
Read more >
Docker and electron-builder keep building for linux but I want ...
I need it to be built for Windows. I tried just building it directly with the quasar build command and configuring quasar.conf.js to...
Read more >
Common Build Problems - Travis CI Docs
One possible cause for builds failing unexpectedly can be calling set -e (also known as set errexit ), either directly in your .travis.yml...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found