-
-
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
Changing ELECTRON_BUILDER_CACHE between builds causes error #4955
Comments
adam-lynch
added a commit
to adam-lynch/electron-builder
that referenced
this issue
May 12, 2020
adam-lynch
added a commit
to adam-lynch/electron-builder
that referenced
this issue
May 12, 2020
adam-lynch
added a commit
to adam-lynch/electron-builder
that referenced
this issue
May 12, 2020
This was referenced May 12, 2020
develar
pushed a commit
that referenced
this issue
May 14, 2020
Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In trying to workaround #1850:
ELECTRON_BUILDER_CACHE
to a newly created directory with a randomly generated name.If I run two builds right after each other, I get the following error:
I think what's happening is that binDownload.ts' promise cache is never broken/invalidated.
I imagine the fix would be to check if the environment variable has changed and reset the map before it's used here. I can make a pull-request.
The text was updated successfully, but these errors were encountered: