-
-
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
Error 3221225781 with nsis target #1097
Comments
Please use latest electron-builder. |
@develar Thanks for the prompt reply. I've updated to electron-builder
|
jenkins... Please try #503 (comment) |
@McPo's solution didn't solve it..failing with same error code. I'm able to ssh into my box and build with success. Building from Jenkins fails, but
|
So, yet another jenkins issue. Please compare env "Building from Jenkins" vs "I'm able to ssh into my box and build with success." |
Env vars present via shell but not Jenkins:
Env vars present via Jenkins but not shell:
Env vars differing between Jenkins & shell:
I injected env Any idea if a discrepancy between any of those could be causing makensis.exe to fail? |
This issue is resolved and I have no idea why. I originally thought the resolution was related to shortening the Regardless, great work @develar. We really appreciate it. |
In the future maybe it will more reliable to use our docker image to build windows on Linux. Because MS just ***. |
@noahbenham have you set LOCALAPPDATA in your Jenkins environment to match the one from your shell environment? I'm having similar issue (the exact same return code in case of makensis.exe) in #1164 and it looks like the DLL the exe need can not be found when the exe are in the systemprofile folder (user profile of SYSTEM user, i.e. LOCALAPPDATA when running as SYSTEM). |
@nicowiggersiv You can set LOCALAPPDATA only for electron-builder process. |
@nicowiggersiv Give me a few days to look into this when I have some spare time and hopefully I'll be able to help you out. |
Latest electron-builder doesn't create cache directory in the SYSTEM user directory anymore. |
I'm able to build my application for all platforms on a mac, but attempting a Win build on a Windows machine is throwing error
3221225781
. More specifically, this is happening within a cygwin environment on Windows Server 2008 R2, so I suspect a dll/package could be missing from the cygwin install, but I'm not sure.I believe error
3221225781
==0xC0000135
. SoSTATUS_DLL_NOT_FOUND
?If this is indeed the issue, I've tried tracking down what's missing from
makensis.exe
with Dependency Walker but didn't get any meaningful results.The following is output with the
DEBUG
flag. Sorry if this isn't the best place for this issue; I've already tried getting help in the Slack channel. Could someone help me track this down please?Build and devDependencies sections of
package.json
:The text was updated successfully, but these errors were encountered: