-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Error: ENOENT: no such file or directory, rename #2927
Comments
Is anyone maintaining this project? because I have not heard anything from anyone ? |
@develar can you guide me on this issue , So we can get this fixed if that is bug ? |
electron-updater 3.4.0 |
@DoNalD-S Thx for advised. |
This issue still exists with electron-updater 4.3.4.
I do not see a n electron-updater 3.4.0 release nor do I see in the changelog that this issue has been fixed. We are running angular on electron we are implementing our own httpExecutor, because we cannot make use of electronHttpExecutor. Therefore the DifferentialDownloader does not work correctly, but that should not be a problem. It correctly logs the following error: I do not think this might be the causing issue, since the error happens with EXE which is so small, that it does not need to be downloaded differential. |
Found the issue: The error happens if autoUpdater.autoDownlad is true (which is default). It downloads the exe already on checkForUpdate and renames it then. It however does not download the package.7z. Hence, we still need to call autoUpdater.downloadUpdate(). This then tries t rename the exe again but it has already been done before. It seems autoDownload is for NSIS only, if usins NSIS-Web autoDownload has to be false. |
@NisStrom can you show us how to disable it? |
autoUpdater.autoDownload = false; |
Which version of electron-builder are you using?
Which version of electron-updater are you using ?
What target are you building for?
somehow file get deleted after renaming.
I am attaching my logs file
The text was updated successfully, but these errors were encountered: