question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The folder “app.zip” doesn’t exist

See original GitHub issue

Version electron-builder: 20.7.1 electron-updater: 2.21.3

Target: Mac OSX High Sierra

I have issue with error message ‘The folder “app.zip” doesn’t exist.’ At first I thought it is something related to space in file name, so after publishing to aws s3 I manually renamed the space in filename with dash. It was working, but only one time. Then I thought the issue was with cache. I tried to set autoUpdater.requestHeaders = {“Cache-Control”: “no-cache”}. Then it was working, but only for one time. I dont know why this bug occurs. The error message:

Error: Error: The folder “app.zip” doesn’t exist.: The folder doesn’t exist.\n at MacUpdater.doDownloadUpdate (/Applications/appname/Contents/Resources/app.asar/node_modules/electron-updater/src/MacUpdater.ts:44:12)\n at <anonymous>

The same code works on windows. There is no space in windows installation file. Could you help me, please? I donated to increase issue priority.

Thanks

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Mathocommented, Apr 3, 2018

No, this fix doesn’t fix 2706. It fixes only cache issue.

0reactions
bezzercommented, Jul 2, 2018

Have noticed this also fails when auto-updater is downloading from a server that sets the file name using Content-Disposition:

Content-Disposition: attachment; filename="MyApp_0.1.2.zip"

The downloader names the file MyApp_0.1.2.zip, then fails to find it with the error reported above.

Luckily we were able to work around this by updating the server to match what the updater is expecting after a bit of debugging.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deploy files to App Service - Azure App Service | Microsoft Learn
One of the simplest ways to deploy code from your local machine. Run your app from a ZIP package - Azure App Service....
Read more >
Fixing an Azure web app zip deployment issue - Blimped
Thumbnail Fixing an Azure web app zip deployment issue ... And if it doesn't need to be built, it still needs to be...
Read more >
Zip Browser Pro on the App Store
This simple application allows view content of ZIP, RAR, gz, tar, tar.gz, jar, bz2, Z, 7z files (including password protected files). You also...
Read more >
2 Answers - 2 - Stack Overflow
"scripts": { "all": "ng test; ng build --prod; zip -r dist/app.zip dist/app;" }, ... Zip in dist-Folder without the folders dist/app-name ...
Read more >
The file “HP_Easy_Start.app.zip.download” doesn't appear to
The file “HP_Easy_Start.app.zip.download” doesn't appear to be a ... to an HP Easy Start file already exists within your downloads folder.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found