Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Automatic update error in Linux (0 , builder_util_runtime_1.retry) is not a function #658

Open
4 tasks done
Ares-Chang opened this issue Nov 7, 2024 · 6 comments
Open
4 tasks done

Comments

@Ares-Chang
Copy link

Describe the bug

Automatic update error reporting under Linux system

image

Automatic update error in Linux The update mode I choose is generic update

image

My update code has only one checkForUpdatesAndNotify just to detect and update under

image

I'm not sure if this is a problem with my use or a problem with the electron-updater packaging

Installing the builder-util-runtime manually solves the problem perfectly

I tried to run a demo under electron-updater but failed, I am a novice

So I reported the issues here, hoping to help others, or add this dependency

Thanks!

Electron-Vite Version

2.3.0

Electron Version

31.0.2

Vite Version

5.3.1

Validations

@AntonNevsgodov
Copy link

AntonNevsgodov commented Nov 19, 2024

Same on MacOS. Windows works fine

[2024-11-19 18:52:29.154] [error] (AutoUpdateService)   Error: TypeError: (0 , builder_util_runtime_1.retry) is not a function
    at MacUpdater.executeDownload (/Applications/MyApp.app/Contents/Resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:567:52)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@Ares-Chang
Copy link
Author

Installing the builder-util-runtime package manually solves the problem perfectly

This is supposed to be an upstream warehouse problem, but I can't run the mini repo

@HQidea
Copy link

HQidea commented Nov 21, 2024

same on Windows

[2024-11-21T16:08:47.776] [ERROR] default - Error: TypeError: (0 , builder_util_runtime_1.retry) is not a function
    at NsisUpdater.executeDownload (C:\Users\path\to\resources\app.asar\node_modules\electron-updater\out\AppUpdater.js:567:52)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@oneQiu
Copy link

oneQiu commented Nov 25, 2024

+1 我也一样 mac

@huangkairan
Copy link

same

@huangkairan
Copy link

Installing the builder-util-runtime package manually solves the problem perfectly

This is supposed to be an upstream warehouse problem, but I can't run the mini repo

thx, it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants