-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
electron builder update emit error: {"code":"EBUSY","dest":"C:\\Users\\andyc\\AppData\\Local\\vipthink-updater\\pending\\vipthink_win_2.13.0.exe","errno":-4082,"path":"C:\\Users\\andyc\\AppData\\Local\\vipthink-updater\\pending\\temp-vipthink_win_2.13.0.exe","syscall":"rename"} #6031
Comments
You're running into a file lock issue so this may not explicitly be electron-builder: https://stackoverflow.com/a/44014485 Please update to latest 22.11.7 first though 🙂 |
sorry, i thought my word let you puzzle. i say clear now and let you know the detail i use the autoUpdater of electron-builder to let our app update, and some of our user will emit the error after downloaded the latest version app .zip and ready to install, not emit when npm install 😂 some code here: init() {
autoUpdater.on('error', err => {
// sth code
})
autoUpdater.autoDownload = false
autoUpdater.allowPrerelease = true
autoUpdater.allowDowngrade = true
} // and when i install the update i will set parameters like this
autoUpdater.quitAndInstall(isSilent, isForceRunAfter) so, this error will be resolved in the latest version ? or how i can resolve this error, thanks~ |
Whoops, I definitely had misunderstood that. My bad 😅
I just recall various electron-updater fixes occurring between 22.7 and 22.11, aaaand it's more efficient for the two maintainers of this project to only investigate on latest versions. 22.7.0 is also long before I joined the team. |
okay, i try to upgrade the electron-builder version |
@StitchC Did you get any solution? I am also getting the same, error no -4082, code "EBUSY" in windows 7. |
no, but i ready to try upgrade the latest version |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
@StitchC My antivirus was blocking it. I stopped my antivirus and then auto-update worked as it should. So when I need to update I stop my antivirus. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
and another error emit so:
{"code":"EPERM","dest":"C:\Users\David\AppData\Local\vipthink-updater\pending\vipthink_win_2.13.0.exe","errno":-4048,"path":"C:\Users\David\AppData\Local\vipthink-updater\pending\temp-vipthink_win_2.13.0.exe","syscall":"rename"}
should i upgrade my electron builder version to resovle this ? or how to avoid this problem?
The text was updated successfully, but these errors were encountered: