You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that 7zip logs the contents of the archive, and our archive is HUGE, which causes the ERR_CHILD_PROCESS_STDIO_MAXBUFFER error
I was able to fix it locally by changing the hardcoded maxBuffer from 10 * 1024 * 1024 to 1000 * 1024 * 1024 at this line
I suspect that the problem is happening in NsisTarget.ts where it's calling exec <7zipBinary> -l <.7z>. If the logs were suppressed on this line, that would probably fix the problem too.
Version: 20.38.5
Target: Windows NSIS
Attempts to build Windows NSIS with command
build --win
are failing withERR_CHILD_PROCESS_STDIO_MAXBUFFER
error.Logs: https://gist.github.com/dpgraham/17e9758c29269d166bf8e5f9994b9e57
The problem is that 7zip logs the contents of the archive, and our archive is HUGE, which causes the
ERR_CHILD_PROCESS_STDIO_MAXBUFFER
errorI was able to fix it locally by changing the hardcoded
maxBuffer
from10 * 1024 * 1024
to1000 * 1024 * 1024
at this lineI suspect that the problem is happening in NsisTarget.ts where it's calling
exec <7zipBinary> -l <.7z>
. If the logs were suppressed on this line, that would probably fix the problem too.Possible fixes are
maxBuffer
size configurableThe text was updated successfully, but these errors were encountered: