Breaking change in electron-updater caused by using Electron 11 #677

Closed
opened 2026-01-29 16:45:45 +00:00 by claunia · 4 comments
Owner

Originally created by @tub5 on GitHub (Jun 28, 2021).

CLI: 11.5.1.0
NuGet: 11.5.1

  • Target: win-x64

As per the ticket open for electron-updater all auto update applications will break. As this appears to be the route the developers of the package are heading, the Electron version used in this package should be updated to at least Electron 12.

Steps to Reproduce:

  1. Create a project with auto-updater enabled and properly set up
  2. See the application throw stating that Error: Cannot find module 'fs/promises'
Originally created by @tub5 on GitHub (Jun 28, 2021). <!-- Please search existing issues to avoid creating duplicates. --> <!-- Which version of Electron.NET CLI and API are you using? --> <!-- Please always try to use latest version before report. --> CLI: 11.5.1.0 NuGet: 11.5.1 <!-- Which version of .NET Core and Node.js are you using (if applicable)? --> <!-- What target are you building for? --> * **Target**: win-x64 <!-- Enter your issue details below this comment. --> <!-- If you want, you can donate to increase issue priority (https://donorbox.org/electron-net) --> As per [the ticket open for electron-updater](https://github.com/electron-userland/electron-builder/issues/6000) all auto update applications will break. As this appears to be the route the developers of the package are heading, the Electron version used in this package should be updated to at least Electron 12. Steps to Reproduce: 1. Create a project with auto-updater enabled and properly set up 2. See the application throw stating that `Error: Cannot find module 'fs/promises'`
claunia added the bug label 2026-01-29 16:45:45 +00:00
Author
Owner

@ekuchynski commented on GitHub (Jun 28, 2021):

Also got this surprise today. Built and deployed updates refused to start on many user machines :( Please help. At least any temporary fix will also be helpful..

@ekuchynski commented on GitHub (Jun 28, 2021): Also got this surprise today. Built and deployed updates refused to start on many user machines :( Please help. At least any temporary fix will also be helpful..
Author
Owner

@lanluu commented on GitHub (Jun 30, 2021):

We are suffering the same issue :-(. Any fix / hint is really appreciated.

@lanluu commented on GitHub (Jun 30, 2021): We are suffering the same issue :-(. Any fix / hint is really appreciated.
Author
Owner

@tub5 commented on GitHub (Jun 30, 2021):

We are suffering the same issue :-(. Any fix / hint is really appreciated.

They have reverted to put the affected build of 4.0.9 of electron-updater as latest so you shouldn't have this issue for now. PR is in to upgrade our Electron version anyway and they will be reviewed tomorrow evening.

@tub5 commented on GitHub (Jun 30, 2021): > We are suffering the same issue :-(. Any fix / hint is really appreciated. They have reverted to put the affected build of 4.0.9 of electron-updater as latest so you shouldn't have this issue for now. PR is in to upgrade our Electron version anyway and they will be reviewed tomorrow evening.
Author
Owner

@lanluu commented on GitHub (Jun 30, 2021):

We are suffering the same issue :-(. Any fix / hint is really appreciated.

They have reverted to put the affected build of 4.0.9 of electron-updater as latest so you shouldn't have this issue for now. PR is in to upgrade our Electron version anyway and they will be reviewed tomorrow evening.

Thank you for your information!

@lanluu commented on GitHub (Jun 30, 2021): > > We are suffering the same issue :-(. Any fix / hint is really appreciated. > > They have reverted to put the affected build of 4.0.9 of electron-updater as latest so you shouldn't have this issue for now. PR is in to upgrade our Electron version anyway and they will be reviewed tomorrow evening. Thank you for your information!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#677