Electron-builder: Build is completely failing

Created on 7 Jun 2019  路  7Comments  路  Source: electron-userland/electron-builder

  • Version: 20.43.0

  • electron-updater: 4.0.6

  • Target: NSIS

running the builder is failing with current version, and electron version ^4.2.4. Seems to fail from downloading of grpc of electron binaries. The download link for some reason is https://node-precompiled-binaries.grpc.io/grpc/v1.20.3/electron-v4.2-win32-x64-unknown.tar.gz

EDIT FOUND TEMP FIX
My application doesn't rely on rebuilding npm modules so I set it to false in the config to by pass this error. If your application requires modules to be built, this wont work.

backlog

Most helpful comment

never mind on that last one, I forgot updater is deprecated and now is just built into electron-builder

All 7 comments

I also tried setting the version of electron manually inside of the config to 4.2.4 with no change.

I've also tried back dating to Version: 20.41.0 to no avail, I reverted electron to 4.2.0 and nothing happened either.

Could this be from electron-updater itself?

never mind on that last one, I forgot updater is deprecated and now is just built into electron-builder

My application doesn't rely on rebuilding npm modules so I set it to false in the config to by pass this error. If your application requires modules to be built, this wont work.

You can do so by setting npmRebuild to false in config

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings