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
Docker wine container gives error:0308010C:digital envelope routines::unsupported when building with yarn dist #8070
Comments
Hmmm, I'm not familiar with electron-webpack. Is that part of the electron-builder pipeline? Not sure if this is the correct project to report in |
Apologies - I got to the containers from the docs here: https://www.electron.build/multi-platform-build#docker - I thought they were this project. |
Oh interesting, yes the docker images are. But it looks like your build is compiling with electron-webpack, before electron-builder is actually executing. |
I tried that, but if webpack is running first and failing, is there any point in setting anything for electron-builder? There isn't much output anyway:
|
Ahh, yeah... this isn't something I can solve for then. If you need to set an env var before running webpack, try this approach (webpack/webpack#14532 (comment)) or by using docker's |
wine
tag)When I run:
I get:
It looks like this relates to something SSL-y in Node >=17.
Trouble is, if I downgrade to Node 14 by using
electronuserland/builder:14-wine
I get an error because some of the dependencies require Node 18:As a workaround, I have gone to
14-wine
and I force the use of an older version of isbinaryfile in my package.json:The text was updated successfully, but these errors were encountered: