Skip to content
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

Inconsistent build behavior regarding asar file #7574

Closed
lkowalczyk87 opened this issue May 12, 2023 · 24 comments
Closed

Inconsistent build behavior regarding asar file #7574

lkowalczyk87 opened this issue May 12, 2023 · 24 comments

Comments

@lkowalczyk87
Copy link

lkowalczyk87 commented May 12, 2023

  • Electron-Builder Version: 23.6.0
  • Node Version: 18.13.0
  • Electron Version: 23.2.0
  • Electron Type (current, beta, nightly): current
  • Target: windows

Hi! I tried to prepare a distribution that targets Windows. When I run the build process on a Windows machine everything is fine and the app works perfectly, but when I run the build process on a MacOS app crashes during the start with the following error "A JavaScript error occurred in the main process"(screenshot below). What I noticed is that the resources folder differs between OSes. Any ideas about what have I missed?

Error
image

[Windows] Resources folder
image

[MacOS] Resources folder
image

Reproduction steps:

  1. Clone https://github.com/lkowalczyk87/asar-issue-electron-build
  2. Run npm ci
  3. Run npm run build-win
@patryk-sierzega
Copy link

got the same :(

@GazHank
Copy link

GazHank commented Jun 21, 2023

This appears to be an issue with the "automatic detection" logic mentioned in https://www.electron.build/generated/platformspecificbuildoptions by which I mean that the detection logic is behaving differently depending on the compiling platform rather than the target platform.

@GazHank
Copy link

GazHank commented Jun 23, 2023

Running with debug enabled results in the following line appearing when building on Linux for Windows that doesnt exist for native Windows builds:

not packed into asar archive file=node_modules/@serialport/bindings-cpp/build/node_gyp_bins/python3 reason=contains executable code

Which is flagged by unpackDetector.ts

No such executable is being identified on a windows native build, so it doesn't strip the package out of the ASAR.

I've noticed that there are a couple of modules (e.g. ffprobe-static) that include an override to force unpacking, however in this case I don't think it is sensible to override and force packing on a per module basis. This is because based on what I've seen thus far I think this issue will occur with any Node-API modules using node-gyp-build, prebuildify etc

@develar & @mmaietta I noticed that you have authored a few of the changes to the unpack detector, so wonder if you could take a look or loop in someone who might be able to help?

@mmaietta
Copy link
Collaborator

We're kinda strapped in terms of maintainers

I think the best route may just be force unpacking python, maybe it's failing at line isBinaryFileSync not detecting python?

const moduleName = path.basename(packageDir)
if (moduleName === "ffprobe-static" || moduleName === "ffmpeg-static" || isLibOrExe(file)) {
shouldUnpack = true
} else if (!file.includes(".", nextSlashIndex)) {
shouldUnpack = !!isBinaryFileSync(file)
}

Can you try adding console.log("shouldUnpack", shouldUnpack, file, moduleName) to line 88 and post the logs back of what comes up?

For the interim, would the below work? Or maybe a regex specific to @serialport?

asarUnpack: '**\\*.{node,dll}',

@GazHank
Copy link

GazHank commented Jun 26, 2023

Hi @mmaietta thanks for your help. Here is a subset of the output from the console.log, the full output can be found in the attached file

shouldUnpack false /media/gaz/win10/Git/electron-serialport/node_modules/@serialport/bindings-cpp/dist/win32.js bindings-cpp
shouldUnpack true /media/gaz/win10/Git/electron-serialport/node_modules/@serialport/bindings-cpp/build/node_gyp_bins/python3 bindings-cpp
  • not packed into asar archive  file=node_modules/@serialport/bindings-cpp/build/node_gyp_bins/python3 reason=contains executable code
shouldUnpack false /media/gaz/win10/Git/electron-serialport/node_modules/@serialport/bindings-interface/CODE_OF_CONDUCT.md bindings-interface
shouldUnpack false /media/gaz/win10/Git/electron-serialport/node_modules/@serialport/bindings-interface/LICENSE bindings-interface

shouldUnpack.txt

@GazHank
Copy link

GazHank commented Jun 26, 2023

Ok so I've dug a little deeper, and I don't think the asar packing/unpacking is actually the problem. The issue appears to be that on Linux despite electron-builder being told to target windows, the electron-rebuild process is recompiling the NAPI packages for Linux. I'm not sure why this is happening as there seems to be code in the packager specifically to avoid this (packager.ts#L522C1-L530)

Potential fix / workaround:

If I completely disable the rebuild process then electron-builder on Linux successfully uses the prebuilt binaries and the cross build works correctly. This even works despite none of the asar being unpacked.

To do this I had to remove the script "postinstall": "electron-builder install-app-deps", and configure the build with "buildDependenciesFromSource": false, "npmRebuild": false

@lkowalczyk87 & @zivlakmilos would you be able to check if those changes fix the cross build process for you?

@mmaietta thanks for your help, I'd be keen to get your thoughts on this workaround, as it seems like these config setting are the opposite of the current defaults, but I wonder if this is just a result of the defaults and documentation being developed before we had NAPI and prebuildify; when it was expected that all native modules had to be rebuilt from source.

@mmaietta
Copy link
Collaborator

Okay, thanks for checking!

I wonder if this is just a result of the defaults and documentation being developed before we had NAPI and prebuildify; when it was expected that all native modules had to be rebuilt from source.

I have a strong hunch this is the case, it significantly predates me joining as a maintainer.

Can you try next v24.5.1? I reconfigured electron-builder to use the @electron/rebuild API directly as opposed to the entry point in #7629 so that it respects the destination platform instead of forcing process.platform

There are so many edge cases with native builds that it's proving significantly difficult to capture all cases. The harder part is making sure that the unit test passes, but then there's no way to test if the app actually runs ☹️

@GazHank
Copy link

GazHank commented Jun 26, 2023

Thanks @mmaietta 24.5.1 seems to fix the rebuild issue! it means I can drop the buildDependenciesFromSource and npmRebuild letting it recompile for the target platform :-)

I've avoided reintroducing the postinstall script as that doesnt seem to have changed, so am not sure it would be useful at this stage. Let me know if you would like me to test it...

@mmaietta
Copy link
Collaborator

Thank you for verifying!

It should work with the postinstall script, it's running everything the same under the hood. That being said, I couldn't have it distinguish between internal vs external modules since that was originally done by the app-builder-bin Go binary, so I couldn't fetch the different modules to build. Now, electron/rebuild just handles everything

@GazHank
Copy link

GazHank commented Jun 26, 2023

Thank you @mmaietta this is greatly appreciated!

@mmaietta
Copy link
Collaborator

Released 24.5.2 (electron-updater@6.1.3)

@Marlonzao
Copy link

Hi, this still isn't working for me... Am I doing something wrong? 😢

image

image

image

If you need any other info just ask that I can provide... really need to solve this

@GazHank
Copy link

GazHank commented Jul 4, 2023

Are you able to set the environment variable to enable debug during the build? I wonder if the build process is failing for some reason...

You could also try forcing it to download the binaries instead per the "potential workarounds" I mentioned before to see if that works for you

@Marlonzao
Copy link

Marlonzao commented Jul 5, 2023

I have tried the potential workaround, and this was the result:

image

And this is is the quite long output of electron-builder with the DEBUG="electron-builder" environment variable, strangely the install-app-deps command didn't output anything different with debug turned on...

The only errors that I could note on this output are the ones related to wine display requiring an X server that I cannot provide due to being in a CI environment.

electron-builder --win --x64
$ node_modules/.bin/electron-builder --win --x64
  • electron-builder  version=24.5.2 os=5.15.0-1031-aws
  • loaded configuration  file=package.json ("build" field)
  • effective config  config=directories:
  output: dist
  buildResources: build
productName: Multipedidos - Gestor de Pedidos
executableName: Setup Multipedidos - Gestor de Pedidos
appId: com.multipedidos.manager
buildDependenciesFromSource: false
npmRebuild: false
publish:
  - provider: generic
    url: https://releases.multipedidos.com.br/
nsis:
  include: build/installer.nsh
win:
  icon: src/assets/icons/win/AppIcon.ico
  target:
    - nsis
  verifyUpdateCodeSignature: false
linux:
  icon: src/assets/icons/png/AppIcon.png
  target:
    - AppImage
files: []
  • skipped dependencies rebuild  reason=npmRebuild is set to false
  • packaging       platform=win32 arch=x64 electron=17.4.10 appOutDir=dist/win-unpacked
  • spawning        command=/project/node_modules/app-builder-bin/linux/x64/app-builder unpack-electron --configuration [{"platform":"win32","arch":"x64","version":"17.4.10"}] --output /project/dist/win-unpacked --distMacOsAppName Electron.app
  • map async       taskCount=2
  • map async       taskCount=1
  • computing effective URL  initialUrl=https://github.com/electron/electron/releases/download/v17.4.10/electron-v17.4.10-win32-x64.zip
                            currentUrl=https://objects.githubusercontent.com/github-production-release-asset-2e65be/9384267/5415fb81-169a-47c6-974d-778908a782be?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230705%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230705T202912Z&X-Amz-Expires=300&X-Amz-Signature=d7b4454b99ff5d5262e1ed386b367f7cff80cc2ee794c966cfe5563a38dbfdc6&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=9384267&response-content-disposition=attachment%3B%20filename%3Delectron-v17.4.10-win32-x64.zip&response-content-type=application%2Foctet-stream
  • downloading     url=https://github.com/electron/electron/releases/download/v17.4.10/electron-v17.4.10-win32-x64.zip length=88053234 contentType=application/octet-stream
  • downloading     url=https://github.com/electron/electron/releases/download/v17.4.10/electron-v17.4.10-win32-x64.zip size=88 MB parts=4
  • map async       taskCount=4
  • download part   range=bytes=66039924-88053233 index=3
  • download part   range=bytes=0-22013307 index=0
  • download part   range=bytes=22013308-44026615 index=1
  • download part   range=bytes=44026616-66039923 index=2
  • downloaded      url=https://github.com/electron/electron/releases/download/v17.4.10/electron-v17.4.10-win32-x64.zip duration=863ms
  • map async       taskCount=73
  • exited          command=app-builder code=0 pid=41
  • spawning        command=/project/node_modules/app-builder-bin/linux/x64/app-builder node-dep-tree --dir /project
  • unresolved deps  unresolved=hehtml-encoding-snifferhttp-proxyopenerunionurl-joinchalkcorsermimeminimistportfindersecure-comparebasic-auth nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=eventemitter3requires-port nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=side-channel nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=mkdirpasync nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=ms nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=@serialport/bindings-interface@serialport/parser-readlinedebugnode-addon-apinode-gyp-build nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=nanprebuild-installpatch-package nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=simple-gettar-fsexpand-templatenapi-build-utilsnode-abircpumptunnel-agentdetect-libcgithub-from-packageminimistmkdirp-classic nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=oncesimple-concat nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=chownrmkdirp-classicpump nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=blend-of-streamfs-constantsinherits nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=util-deprecateinheritsstring_decoder nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=bufferinherits nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=inheritsstring_decoderutil-deprecate nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=semver nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=deep-extendinistrip-json-comments nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=rimrafslashtmpfind-yarn-workspace-rootklaw-syncopen@yarnpkg/lockfile nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=shebang-commandwhichnice-trypath-keysemver nodeModuleDir=/project/node_modules/patch-package/node_modules round=0
  • unresolved deps  unresolved=nice-trysemver nodeModuleDir=/project/node_modules round=1
  • unresolved deps  unresolved=isexe nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=jsonfilegraceful-fs nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=escape-string-regexp nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=balanced-matchconcat-map nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=is-wslis-docker nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=is-docker nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=mkdirppath-is-absoluteuntildifywinregapplescript nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=graceful-fsuniversalify nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=universalify nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=graceful-fs nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=har-validatorsafe-buffertunnel-agentaws-sign2aws4forever-agentuuidis-typedarrayjson-stringify-safemime-typesperformance-nowqscaselessextendhttp-signatureoauth-signtough-cookiecombined-streamisstream
                    nodeModuleDir=/project/node_modules
                    round=0
  • unresolved deps  unresolved=asynckitcombined-streammime-types nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=assert-plusjsprimsshpk nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=assert-plusjson-schemaverror nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=make-dirarchive-typecontent-dispositiondecompressext-namefilenamifygotp-event nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=pump nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=decompress-targzdecompress-unzipstrip-dirsdecompress-tardecompress-tarbz2 nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=yauzl nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=object-assignpinkie-promise nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=readable-streamto-bufferxtendbuffer-allocend-of-streamfs-constants nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=readable-streamsafe-buffer nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=util-deprecateinheritsisarrayprocess-nextick-args nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=safe-buffer nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=seek-bzipunbzip2-streamdecompress-taris-stream nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=@sindresorhus/isdecompress-responseinto-streammimic-responsepifyurl-to-optionscacheable-requestduplexer3p-cancelablesafe-buffertimed-outurl-parse-laxis-retry-allowedp-timeoutisurl
                    nodeModuleDir=/project/node_modules
                    round=0
  • unresolved deps  unresolved=keyvnormalize-urlresponselike nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=mimic-response nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=prepend-httpquery-string nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=is-plain-obj nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=needlenoptnpm-packlistrcrimrafmkdirpnpmlog nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=minipassminizlibmkdirpsafe-bufferyallistchownrfs-minipass nodeModuleDir=/project/node_modules/node-pre-gyp/node_modules round=0
  • unresolved deps  unresolved=mkdirpsafe-bufferchownr nodeModuleDir=/project/node_modules round=1
  • unresolved deps  unresolved=safe-bufferyallist nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=minipass nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=minipass nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=sax nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=safer-buffer nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=ms nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=has-unicodeobject-assignsignal-exitwide-alignaprobaconsole-control-strings nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=code-point-atstrip-ansi nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=number-is-nan nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=eventemitter3 nodeModuleDir=/project/node_modules round=0
  • unresolved deps  unresolved=p-finally nodeModuleDir=/project/node_modules round=0
  • exited          command=app-builder code=0 pid=52 out=[{"dir":"/project/node_modules","deps":[{"name":"@serialport/binding-mock","version":"10.2.2"},{"name":"@serialport/bindings-cpp","version":"10.8.0","napiVersions":[6]},{"name":"@serialport/bindings-interface","version":"1.2.2"},{"name":"@serialport/parser-byte-length","version":"10.5.0"},{"name":"@serialport/parser-cctalk","version":"10.5.0"},{"name":"@serialport/parser-delimiter","version":"10.5.0"},{"name":"@serialport/parser-inter-byte-timeout","version":"10.5.0"},{"name":"@serialport/parser-packet-length","version":"10.5.0"},{"name":"@serialport/parser-readline","version":"10.5.0"},{"name":"@serialport/parser-ready","version":"10.5.0"},{"name":"@serialport/parser-regex","version":"10.5.0"},{"name":"@serialport/parser-slip-encoder","version":"10.5.0"},{"name":"@serialport/parser-spacepacket","version":"10.5.0"},{"name":"@serialport/stream","version":"10.5.0"},{"name":"@sindresorhus/is","version":"0.7.0"},{"name":"@thiagoelg/node-printer","version":"0.5.8","hasPrebuildInstall":true,"napiVersions":[]},{"name":"@yarnpkg/lockfile","version":"1.1.0"},{"name":"abbrev","version":"1.1.1"},{"name":"ajv","version":"6.12.6"},{"name":"ansi-regex","version":"5.0.1"},{"name":"ansi-styles","version":"4.3.0"},{"name":"applescript","version":"1.0.0"},{"name":"aproba","version":"1.2.0"},{"name":"archive-type","version":"4.0.0"},{"name":"are-we-there-yet","version":"1.1.7"},{"name":"argparse","version":"2.0.1"},{"name":"asn1","version":"0.2.6"},{"name":"assert-plus","version":"1.0.0"},{"name":"async","version":"2.6.3"},{"name":"asynckit","version":"0.4.0"},{"name":"auto-launch","version":"5.0.5"},{"name":"aws-sign2","version":"0.7.0"},{"name":"aws4","version":"1.11.0"},{"name":"axios","version":"0.27.2"},{"name":"balanced-match","version":"1.0.2"},{"name":"base64-js","version":"1.5.1"},{"name":"basic-auth","version":"2.0.1"},{"name":"bcrypt-pbkdf","version":"1.0.2"},{"name":"bl","version":"4.1.0"},{"name":"braces","version":"3.0.2"},{"name":"buffer","version":"5.7.1"},{"name":"buffer-alloc","version":"1.2.0"},{"name":"buffer-alloc-unsafe","version":"1.1.0"},{"name":"buffer-crc32","version":"0.2.13"},{"name":"buffer-fill","version":"1.0.0"},{"name":"cacheable-request","version":"2.1.4"},{"name":"call-bind","version":"1.0.2"},{"name":"caseless","version":"0.12.0"},{"name":"chalk","version":"4.1.2"},{"name":"chownr","version":"1.1.4"},{"name":"code-point-at","version":"1.1.0"},{"name":"color-convert","version":"2.0.1"},{"name":"color-name","version":"1.1.4"},{"name":"combined-stream","version":"1.0.8"},{"name":"commander","version":"2.9.0"},{"name":"concat-map","version":"0.0.1"},{"name":"console-control-strings","version":"1.1.0"},{"name":"content-disposition","version":"0.5.4"},{"name":"core-util-is","version":"1.0.2"},{"name":"corser","version":"2.0.1"},{"name":"dashdash","version":"1.14.1"},{"name":"debug","version":"4.3.4"},{"name":"decode-uri-component","version":"0.2.0"},{"name":"decompress","version":"4.2.1"},{"name":"decompress-response","version":"3.3.0"},{"name":"decompress-tar","version":"4.1.1"},{"name":"decompress-tarbz2","version":"4.1.1"},{"name":"decompress-targz","version":"4.1.1"},{"name":"decompress-unzip","version":"4.0.1"},{"name":"deep-extend","version":"0.6.0"},{"name":"delay","version":"5.0.0"},{"name":"delayed-stream","version":"1.0.0"},{"name":"delegates","version":"1.0.0"},{"name":"detect-libc","version":"2.0.1"},{"name":"dotenv","version":"16.0.1"},{"name":"download","version":"8.0.0"},{"name":"duplexer3","version":"0.1.5"},{"name":"ecc-jsbn","version":"0.1.2"},{"name":"electron-log","version":"4.4.8"},{"name":"emoji-regex","version":"8.0.0"},{"name":"end-of-stream","version":"1.4.4"},{"name":"escape-string-regexp","version":"1.0.5"},{"name":"eventemitter3","version":"4.0.7"},{"name":"expand-template","version":"2.0.3"},{"name":"ext-list","version":"2.2.2"},{"name":"ext-name","version":"5.0.0"},{"name":"extend","version":"3.0.2"},{"name":"extract-zip","version":"2.0.1"},{"name":"extsprintf","version":"1.4.1"},{"name":"fast-deep-equal","version":"3.1.3"},{"name":"fast-json-stable-stringify","version":"2.1.0"},{"name":"fd-slicer","version":"1.1.0"},{"name":"file-type","version":"5.2.0"},{"name":"filename-reserved-regex","version":"2.0.0"},{"name":"filenamify","version":"3.0.0"},{"name":"fill-range","version":"7.0.1"},{"name":"find-yarn-workspace-root","version":"2.0.0"},{"name":"follow-redirects","version":"1.15.1"},{"name":"forever-agent","version":"0.6.1"},{"name":"form-data","version":"4.0.0"},{"name":"from2","version":"2.3.0"},{"name":"fs","version":"0.0.1-security"},{"name":"fs-constants","version":"1.0.0"},{"name":"fs-extra","version":"10.1.0"},{"name":"fs.realpath","version":"1.0.0"},{"name":"function-bind","version":"1.1.1"},{"name":"gauge","version":"2.7.4"},{"name":"get-intrinsic","version":"1.1.1"},{"name":"get-stream","version":"5.2.0"},{"name":"getpass","version":"0.1.7"},{"name":"github-from-package","version":"0.0.0"},{"name":"glob","version":"7.2.3"},{"name":"got","version":"8.3.2"},{"name":"graceful-fs","version":"4.2.11"},{"name":"graceful-readlink","version":"1.0.1"},{"name":"har-schema","version":"2.0.0"},{"name":"har-validator","version":"5.1.5"},{"name":"has","version":"1.0.3"},{"name":"has-flag","version":"4.0.0"},{"name":"has-symbol-support-x","version":"1.4.2"},{"name":"has-symbols","version":"1.0.3"},{"name":"has-to-string-tag-x","version":"1.4.1"},{"name":"has-unicode","version":"2.0.1"},{"name":"he","version":"1.2.0"},{"name":"html-encoding-sniffer","version":"3.0.0"},{"name":"http-proxy","version":"1.18.1"},{"name":"http-server","version":"14.1.1"},{"name":"http-signature","version":"1.2.0"},{"name":"iconv-lite","version":"0.6.3"},{"name":"ieee754","version":"1.2.1"},{"name":"ignore-walk","version":"3.0.4"},{"name":"inflight","version":"1.0.6"},{"name":"inherits","version":"2.0.4"},{"name":"ini","version":"1.3.8"},{"name":"into-stream","version":"3.1.0"},{"name":"is-docker","version":"2.2.1"},{"name":"is-fullwidth-code-point","version":"3.0.0"},{"name":"is-natural-number","version":"4.0.1"},{"name":"is-number","version":"7.0.0"},{"name":"is-object","version":"1.0.2"},{"name":"is-plain-obj","version":"1.1.0"},{"name":"is-retry-allowed","version":"1.2.0"},{"name":"is-stream","version":"1.1.0"},{"name":"is-typedarray","version":"1.0.0"},{"name":"is-wsl","version":"2.2.0"},{"name":"isarray","version":"1.0.0"},{"name":"isexe","version":"2.0.0"},{"name":"isstream","version":"0.1.2"},{"name":"isurl","version":"1.0.0"},{"name":"js-yaml","version":"4.1.0"},{"name":"jsbn","version":"0.1.1"},{"name":"json-buffer","version":"3.0.0"},{"name":"json-schema","version":"0.4.0"},{"name":"json-schema-traverse","version":"0.4.1"},{"name":"json-stringify-safe","version":"5.0.1"},{"name":"jsonfile","version":"4.0.0"},{"name":"jsprim","version":"1.4.2"},{"name":"keyv","version":"3.0.0"},{"name":"klaw-sync","version":"6.0.0"},{"name":"lodash","version":"4.17.21"},{"name":"lru-cache","version":"6.0.0"},{"name":"make-dir","version":"2.1.0"},{"name":"micromatch","version":"4.0.5"},{"name":"mime","version":"1.6.0"},{"name":"mime-db","version":"1.52.0"},{"name":"mime-types","version":"2.1.35"},{"name":"mimic-response","version":"1.0.1"},{"name":"minimatch","version":"3.1.2"},{"name":"minimist","version":"1.2.6"},{"name":"minipass","version":"3.3.6"},{"name":"mkdirp","version":"0.5.6"},{"name":"mkdirp-classic","version":"0.5.3"},{"name":"ms","version":"2.1.3"},{"name":"nan","version":"2.16.0"},{"name":"napi-build-utils","version":"1.0.2","napiVersions":[223]},{"name":"needle","version":"2.9.1"},{"name":"nice-try","version":"1.0.5"},{"name":"node-abi","version":"3.22.0"},{"name":"node-addon-api","version":"5.1.0"},{"name":"node-gyp-build","version":"4.6.0"},{"name":"node-pre-gyp","version":"0.17.0"},{"name":"nopt","version":"4.0.3"},{"name":"normalize-url","version":"2.0.1"},{"name":"npm-bundled","version":"1.1.2"},{"name":"npm-normalize-package-bin","version":"1.0.1"},{"name":"npm-packlist","version":"1.4.8"},{"name":"npmlog","version":"4.1.2"},{"name":"number-is-nan","version":"1.0.1"},{"name":"oauth-sign","version":"0.9.0"},{"name":"object-assign","version":"4.1.1"},{"name":"object-inspect","version":"1.12.0"},{"name":"once","version":"1.4.0"},{"name":"open","version":"7.4.2"},{"name":"opener","version":"1.5.2"},{"name":"os-homedir","version":"1.0.2"},{"name":"os-tmpdir","version":"1.0.2"},{"name":"osenv","version":"0.1.5"},{"name":"p-cancelable","version":"0.4.1"},{"name":"p-event","version":"2.3.1"},{"name":"p-finally","version":"1.0.0"},{"name":"p-is-promise","version":"1.1.0"},{"name":"p-queue","version":"6.6.2"},{"name":"p-timeout","version":"2.0.1"},{"name":"patch-package","version":"6.4.7"},{"name":"path-is-absolute","version":"1.0.1"},{"name":"pend","version":"1.2.0"},{"name":"performance-now","version":"2.1.0"},{"name":"picomatch","version":"2.3.1"},{"name":"pify","version":"3.0.0"},{"name":"pinkie","version":"2.0.4"},{"name":"pinkie-promise","version":"2.0.1"},{"name":"pngjs","version":"6.0.0"},{"name":"portfinder","version":"1.0.28"},{"name":"prebuild-install","version":"7.1.1"},{"name":"prepend-http","version":"2.0.0"},{"name":"process-nextick-args","version":"2.0.1"},{"name":"psl","version":"1.9.0"},{"name":"pump","version":"3.0.0"},{"name":"punycode","version":"2.1.1"},{"name":"qs","version":"6.5.3"},{"name":"query-string","version":"5.1.1"},{"name":"rc","version":"1.2.8"},{"name":"readable-stream","version":"2.3.7"},{"name":"request","version":"2.88.2"},{"name":"requires-port","version":"1.0.0"},{"name":"responselike","version":"1.0.2"},{"name":"rimraf","version":"2.7.1"},{"name":"safe-buffer","version":"5.2.1"},{"name":"safer-buffer","version":"2.1.2"},{"name":"sax","version":"1.2.4"},{"name":"secure-compare","version":"3.0.1"},{"name":"seek-bzip","version":"1.0.6"},{"name":"semver","version":"7.5.2"},{"name":"serialport","version":"10.5.0"},{"name":"set-blocking","version":"2.0.0"},{"name":"side-channel","version":"1.0.4"},{"name":"signal-exit","version":"3.0.7"},{"name":"simple-concat","version":"1.0.1"},{"name":"simple-get","version":"4.0.1"},{"name":"slash","version":"2.0.0"},{"name":"sort-keys","version":"1.1.2"},{"name":"sort-keys-length","version":"1.0.1"},{"name":"sshpk","version":"1.17.0"},{"name":"strict-uri-encode","version":"1.1.0"},{"name":"string-width","version":"4.2.3"},{"name":"string_decoder","version":"1.3.0"},{"name":"strip-ansi","version":"6.0.1"},{"name":"strip-dirs","version":"2.1.0"},{"name":"strip-json-comments","version":"2.0.1"},{"name":"strip-outer","version":"1.0.1"},{"name":"supports-color","version":"7.2.0"},{"name":"tar-fs","version":"2.1.1"},{"name":"tar-stream","version":"1.6.2"},{"name":"through","version":"2.3.8"},{"name":"timed-out","version":"4.0.1"},{"name":"tmp","version":"0.0.33"},{"name":"to-buffer","version":"1.1.1"},{"name":"to-regex-range","version":"5.0.1"},{"name":"tough-cookie","version":"2.5.0"},{"name":"trim-repeated","version":"1.0.0"},{"name":"tunnel-agent","version":"0.6.0"},{"name":"tweetnacl","version":"0.14.5"},{"name":"unbzip2-stream","version":"1.4.3"},{"name":"union","version":"0.5.0"},{"name":"universalify","version":"2.0.0"},{"name":"untildify","version":"3.0.3"},{"name":"uri-js","version":"4.4.1"},{"name":"url-join","version":"4.0.1"},{"name":"url-parse-lax","version":"3.0.0"},{"name":"url-to-options","version":"1.0.1"},{"name":"util-deprecate","version":"1.0.2"},{"name":"uuid","version":"3.4.0"},{"name":"verror","version":"1.10.0"},{"name":"whatwg-encoding","version":"2.0.0"},{"name":"wide-align","version":"1.1.5"},{"name":"winreg","version":"1.2.4"},{"name":"wrappy","version":"1.0.2"},{"name":"ws","version":"8.13.0"},{"name":"xtend","version":"4.0.2"},{"name":"yallist","version":"4.0.0"},{"name":"yauzl","version":"2.10.0"}]},{"dir":"/project/node_modules/archive-type/node_modules","deps":[{"name":"file-type","version":"4.4.0"}]},{"dir":"/project/node_modules/basic-auth/node_modules","deps":[{"name":"safe-buffer","version":"5.1.2"}]},{"dir":"/project/node_modules/bl/node_modules","deps":[{"name":"readable-stream","version":"3.6.0"}]},{"dir":"/project/node_modules/cacheable-request/node_modules","deps":[{"name":"clone-response","version":"1.0.2"},{"name":"get-stream","version":"3.0.0"},{"name":"http-cache-semantics","version":"3.8.1"},{"name":"lowercase-keys","version":"1.0.0"}]},{"dir":"/project/node_modules/debug/node_modules","deps":[{"name":"ms","version":"2.1.2"}]},{"dir":"/project/node_modules/decompress/node_modules","deps":[{"name":"graceful-fs","version":"4.2.9"},{"name":"make-dir","version":"1.3.0"},{"name":"pify","version":"2.3.0"}]},{"dir":"/project/node_modules/decompress-tarbz2/node_modules","deps":[{"name":"file-type","version":"6.2.0"}]},{"dir":"/project/node_modules/decompress-unzip/node_modules","deps":[{"name":"file-type","version":"3.9.0"},{"name":"get-stream","version":"2.3.1"},{"name":"pify","version":"2.3.0"}]},{"dir":"/project/node_modules/download/node_modules","deps":[{"name":"file-type","version":"11.1.0"},{"name":"get-stream","version":"4.1.0"},{"name":"pify","version":"4.0.1"}]},{"dir":"/project/node_modules/fs-extra/node_modules","deps":[{"name":"jsonfile","version":"6.1.0"}]},{"dir":"/project/node_modules/gauge/node_modules","deps":[{"name":"ansi-regex","version":"2.1.1"},{"name":"is-fullwidth-code-point","version":"1.0.0"},{"name":"string-width","version":"1.0.2"},{"name":"strip-ansi","version":"3.0.1"}]},{"dir":"/project/node_modules/got/node_modules","deps":[{"name":"get-stream","version":"3.0.0"},{"name":"lowercase-keys","version":"1.0.1"}]},{"dir":"/project/node_modules/http-proxy/node_modules","deps":[{"name":"follow-redirects","version":"1.14.9"}]},{"dir":"/project/node_modules/jsprim/node_modules","deps":[{"name":"extsprintf","version":"1.3.0"}]},{"dir":"/project/node_modules/klaw-sync/node_modules","deps":[{"name":"graceful-fs","version":"4.2.10"}]},{"dir":"/project/node_modules/make-dir/node_modules","deps":[{"name":"pify","version":"4.0.1"},{"name":"semver","version":"5.7.1"}]},{"dir":"/project/node_modules/minimatch/node_modules","deps":[{"name":"brace-expansion","version":"1.1.11"}]},{"dir":"/project/node_modules/needle/node_modules","deps":[{"name":"debug","version":"3.2.7"},{"name":"iconv-lite","version":"0.4.24"}]},{"dir":"/project/node_modules/node-pre-gyp/node_modules","deps":[{"name":"detect-libc","version":"1.0.3"},{"name":"fs-minipass","version":"1.2.7"},{"name":"minipass","version":"2.9.0"},{"name":"minizlib","version":"1.3.3"},{"name":"semver","version":"5.7.1"},{"name":"tar","version":"4.4.19"},{"name":"yallist","version":"3.1.1"}]},{"dir":"/project/node_modules/normalize-url/node_modules","deps":[{"name":"sort-keys","version":"2.0.0"}]},{"dir":"/project/node_modules/p-queue/node_modules","deps":[{"name":"p-timeout","version":"3.2.0"}]},{"dir":"/project/node_modules/patch-package/node_modules","deps":[{"name":"ansi-styles","version":"3.2.1"},{"name":"chalk","version":"2.4.2"},{"name":"ci-info","version":"2.0.0"},{"name":"color-convert","version":"1.9.3"},{"name":"color-name","version":"1.1.3"},{"name":"cross-spawn","version":"6.0.5"},{"name":"fs-extra","version":"7.0.1"},{"name":"has-flag","version":"3.0.0"},{"name":"is-ci","version":"2.0.0"},{"name":"minimist","version":"1.2.8"},{"name":"path-key","version":"2.0.1"},{"name":"semver","version":"5.7.1"},{"name":"shebang-command","version":"1.2.0"},{"name":"shebang-regex","version":"1.0.0"},{"name":"supports-color","version":"5.5.0"},{"name":"universalify","version":"0.1.2"},{"name":"which","version":"1.3.1"}]},{"dir":"/project/node_modules/portfinder/node_modules","deps":[{"name":"debug","version":"3.2.7"}]},{"dir":"/project/node_modules/rc/node_modules","deps":[{"name":"minimist","version":"1.2.8"}]},{"dir":"/project/node_modules/readable-stream/node_modules","deps":[{"name":"core-util-is","version":"1.0.3"},{"name":"safe-buffer","version":"5.1.2"},{"name":"string_decoder","version":"1.1.1"}]},{"dir":"/project/node_modules/request/node_modules","deps":[{"name":"form-data","version":"2.3.3"}]},{"dir":"/project/node_modules/responselike/node_modules","deps":[{"name":"lowercase-keys","version":"1.0.1"}]},{"dir":"/project/node_modules/simple-get/node_modules","deps":[{"name":"decompress-response","version":"6.0.0"},{"name":"mimic-response","version":"3.1.0"}]},{"dir":"/project/node_modules/tar-fs/node_modules","deps":[{"name":"readable-stream","version":"3.6.0"},{"name":"tar-stream","version":"2.2.0"}]},{"dir":"/project/node_modules/tar-stream/node_modules","deps":[{"name":"bl","version":"1.2.3"}]},{"dir":"/project/node_modules/union/node_modules","deps":[{"name":"qs","version":"6.11.0"}]},{"dir":"/project/node_modules/uri-js/node_modules","deps":[{"name":"punycode","version":"2.3.0"}]},{"dir":"/project/node_modules/decompress/node_modules/make-dir/node_modules","deps":[{"name":"pify","version":"3.0.0"}]}]
  • spawning        command=/project/node_modules/app-builder-bin/linux/x64/app-builder icon --format ico --root /project/build --root /project --out /project/dist/.icon-ico --input src/assets/icons/win/AppIcon.ico
  • path doesn't exist  path=/project/build/src/assets/icons/win/AppIcon.ico
  • path resolved   path=/project/src/assets/icons/win/AppIcon.ico outputFormat=ico
  • exited          command=app-builder code=0 pid=57 out={"icons":[{"file":"/project/src/assets/icons/win/AppIcon.ico","size":0}],"isFallback":false}
  • spawning        command=/project/node_modules/app-builder-bin/linux/x64/app-builder download-artifact --name winCodeSign
  • computing effective URL  initialUrl=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.6.0/winCodeSign-2.6.0.7z
                            currentUrl=https://objects.githubusercontent.com/github-production-release-asset-2e65be/65527128/f73f2200-5d53-11ea-8264-ddd345f11ee4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230705%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230705T202845Z&X-Amz-Expires=300&X-Amz-Signature=5bed97eaca0b2c57d68162d10bf872126acfce3048032746803a23705be0614c&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=65527128&response-content-disposition=attachment%3B%20filename%3DwinCodeSign-2.6.0.7z&response-content-type=application%2Foctet-stream
  • downloading     url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.6.0/winCodeSign-2.6.0.7z length=5635384 contentType=application/octet-stream
  • downloading     url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.6.0/winCodeSign-2.6.0.7z size=5.6 MB parts=1
  • map async       taskCount=1
  • download part   range=bytes=0-5635383 index=0
  • downloaded      url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.6.0/winCodeSign-2.6.0.7z duration=307ms
  • execute command  command=/project/node_modules/7zip-bin/linux/x64/7za x -bd /root/.cache/electron-builder/winCodeSign/671046580.7z -o/root/.cache/electron-builder/winCodeSign/671046580
                    workingDirectory=/root/.cache/electron-builder/winCodeSign
  • command executed  executable=/project/node_modules/7zip-bin/linux/x64/7za
                      out=
    7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
    p7zip Version 16.02 (locale=C.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz (50657),ASM,AES-NI)
    
    Scanning the drive for archives:
    1 file, 5635384 bytes (5504 KiB)
    
    Extracting archive: /root/.cache/electron-builder/winCodeSign/671046580.7z
    --
    Path = /root/.cache/electron-builder/winCodeSign/671046580.7z
    Type = 7z
    Physical Size = 5635384
    Headers Size = 1492
    Method = LZMA2:24m LZMA:20 BCJ2
    Solid = +
    Blocks = 2
    
    Everything is Ok
    
    Folders: 13
    Files: 83
    Size:       24762883
    Compressed: 5635384
    
  • exited          command=app-builder code=0 pid=62 out=/root/.cache/electron-builder/winCodeSign/winCodeSign-2.6.0
  • spawning        command=/project/node_modules/app-builder-bin/linux/x64/app-builder wine --ia32 /root/.cache/electron-builder/winCodeSign/winCodeSign-2.6.0/rcedit-ia32.exe --x64 /root/.cache/electron-builder/winCodeSign/winCodeSign-2.6.0/rcedit-x64.exe --args ["/project/dist/win-unpacked/Multipedidos - Gestor de Pedidos.exe","--set-version-string","FileDescription","Multipedidos - Gestor de Pedidos","--set-version-string","ProductName","Multipedidos - Gestor de Pedidos","--set-version-string","LegalCopyright","Copyright © 2023 Multipedidos","--set-file-version","4.2.3","--set-product-version","4.2.3.0","--set-version-string","InternalName","Multipedidos - Gestor de Pedidos","--set-version-string","OriginalFilename","","--set-version-string","CompanyName","Multipedidos","--set-icon","/project/src/assets/icons/win/AppIcon.ico"]
  • execute command  command=wine /root/.cache/electron-builder/winCodeSign/winCodeSign-2.6.0/rcedit-ia32.exe '/project/dist/win-unpacked/Multipedidos - Gestor de Pedidos.exe' --set-version-string FileDescription 'Multipedidos - Gestor de Pedidos' --set-version-string ProductName 'Multipedidos - Gestor de Pedidos' --set-version-string LegalCopyright 'Copyright © 2023 Multipedidos' --set-file-version 4.2.3 --set-product-version 4.2.3.0 --set-version-string InternalName 'Multipedidos - Gestor de Pedidos' --set-version-string OriginalFilename '' --set-version-string CompanyName Multipedidos --set-icon /project/src/assets/icons/win/AppIcon.ico
                    workingDirectory=
  • command executed  executable=wine
                      errorOut=0034:err:module:process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found
    002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
    008c:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
    002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
    002c:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
    0094:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
    0094:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
    0094:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
    0094:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
    0094:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
    0084:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
    0084:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
    0084:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@mscms.dll,-1" -> L"C:\\windows\\system32\\spool\\drivers\\color\\srgb color space profile.icm"
    0084:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\ws2_32.dll,-1" -> L"C:\\windows\\system32\\drivers\\etc\\hosts"
    0084:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\ws2_32.dll,-2" -> L"C:\\windows\\system32\\drivers\\etc\\networks"
    0084:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\ws2_32.dll,-3" -> L"C:\\windows\\system32\\drivers\\etc\\protocol"
    0084:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\ws2_32.dll,-4" -> L"C:\\windows\\system32\\drivers\\etc\\services"
    00d4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
    00d4:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
    Could not find Wine Gecko. HTML rendering will be disabled.
    wine: configuration in L"/root/.wine" has been updated.
    
  • exited          command=app-builder code=0 pid=74
wine&sign: 28s 270ms
  • building        target=nsis file=dist/Multipedidos - Gestor de Pedidos Setup 4.2.3.exe archs=x64 oneClick=true perMachine=false
  • spawning        command=/project/node_modules/app-builder-bin/linux/x64/app-builder download-artifact --name nsis-3.0.4.1 --url https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-3.0.4.1/nsis-3.0.4.1.7z --sha512 VKMiizYdmNdJOWpRGz4trl4lD++BvYP2irAXpMilheUP0pc93iKlWAoP843Vlraj8YG19CVn0j+dCo/hURz9+Q==
  • computing effective URL  initialUrl=https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-3.0.4.1/nsis-3.0.4.1.7z
                            currentUrl=https://objects.githubusercontent.com/github-production-release-asset-2e65be/65527128/10518a80-10f6-11ea-8d2f-403bab81b4cd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230705%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230705T203118Z&X-Amz-Expires=300&X-Amz-Signature=b35b9bff464f1fd643984335e5b1247eaa35f050660dde06451e7bd86f3845bf&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=65527128&response-content-disposition=attachment%3B%20filename%3Dnsis-3.0.4.1.7z&response-content-type=application%2Foctet-stream
  • downloading     url=https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-3.0.4.1/nsis-3.0.4.1.7z length=1287512 contentType=application/octet-stream
  • downloading     url=https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-3.0.4.1/nsis-3.0.4.1.7z size=1.3 MB parts=1
  • map async       taskCount=1
  • download part   range=bytes=0-1287511 index=0
  • downloaded      url=https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-3.0.4.1/nsis-3.0.4.1.7z duration=286ms
  • execute command  command=/project/node_modules/7zip-bin/linux/x64/7za x -bd /root/.cache/electron-builder/nsis/961479780.7z -o/root/.cache/electron-builder/nsis/961479780
                    workingDirectory=/root/.cache/electron-builder/nsis
  • command executed  executable=/project/node_modules/7zip-bin/linux/x64/7za
                      out=
    7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
    p7zip Version 16.02 (locale=C.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz (50657),ASM,AES-NI)
    
    Scanning the drive for archives:
    1 file, 1287512 bytes (1258 KiB)
    
    Extracting archive: /root/.cache/electron-builder/nsis/961479780.7z
    --
    Path = /root/.cache/electron-builder/nsis/961479780.7z
    Type = 7z
    Physical Size = 1287512
    Headers Size = 4285
    Method = LZMA2:23 LZMA:20 BCJ2
    Solid = +
    Blocks = 2
    
    Everything is Ok
    
    Folders: 23
    Files: 343
    Size:       7280179
    Compressed: 1287512
    
  • exited          command=app-builder code=0 pid=160 out=/root/.cache/electron-builder/nsis/nsis-3.0.4.1
  • executing       file=/project/node_modules/7zip-bin/linux/x64/7za args=a -bd -mx=9 -md=1m -mtc=off -ms=off -mtm=off -mta=off /project/dist/multipedidos-order-manager-4.2.3-x64.nsis.7z . -xr!*.avi -xr!*.mov -xr!*.m4v -xr!*.mp4 -xr!*.m4p -xr!*.qt -xr!*.mkv -xr!*.webm -xr!*.vmdk cwd=/project/dist/win-unpacked
nsis package, x64: 155s 949ms
  • executing       file=/project/node_modules/7zip-bin/linux/x64/7za args=l /project/dist/multipedidos-order-manager-4.2.3-x64.nsis.7z
  • executed        file=/project/node_modules/7zip-bin/linux/x64/7za stdout=
7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=C.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz (50657),ASM,AES-NI)
                      Scanning the drive for archives:
1 file, 65215784 bytes (63 MiB)
                      Listing archive: /project/dist/multipedidos-order-manager-4.2.3-x64.nsis.7z
                      --
Path = /project/dist/multipedidos-order-manager-4.2.3-x64.nsis.7z
Type = 7z
Physical Size = 65215784
Headers Size = 1520
Method = LZMA2:20 LZMA:20 BCJ2
Solid = -
Blocks = 74
                        Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
                    D....            0            0  locales
                    D....            0            0  resources
                    D....            0            0  swiftshader
                    ....A         1096          689  LICENSE.electron.txt
                    ....A      5490737       167530  LICENSES.chromium.html
                    ....A       142210       131492  chrome_100_percent.pak
                    ....A       207666       193041  chrome_200_percent.pak
                    ....A     10269664      3390017  icudtl.dat
                    ....A       185257        35742  locales/am.pak
                    ....A       190429        35934  locales/ar.pak
                    ....A       207421        35815  locales/bg.pak
                    ....A       267630        37769  locales/bn.pak
                    ....A       129031        32657  locales/ca.pak
                    ....A       132112        34885  locales/cs.pak
                    ....A       120458        31688  locales/da.pak
                    ....A       130441        33575  locales/de.pak
                    ....A       228797        38598  locales/el.pak
                    ....A       105456        29196  locales/en-GB.pak
                    ....A       106273        29132  locales/en-US.pak
                    ....A       127803        32528  locales/es-419.pak
                    ....A       129337        32372  locales/es.pak
                    ....A       116266        32039  locales/et.pak
                    ....A       183504        34559  locales/fa.pak
                    ....A       118558        32264  locales/fi.pak
                    ....A       133002        32293  locales/fil.pak
                    ....A       138373        33879  locales/fr.pak
                    ....A       259004        36948  locales/gu.pak
                    ....A       159619        33405  locales/he.pak
                    ....A       267249        37697  locales/hi.pak
                    ....A       126343        33388  locales/hr.pak
                    ....A       137221        35263  locales/hu.pak
                    ....A       114535        29594  locales/id.pak
                    ....A       127301        32030  locales/it.pak
                    ....A       152407        31449  locales/ja.pak
                    ....A       293250        37212  locales/kn.pak
                    ....A       127822        30418  locales/ko.pak
                    ....A       138957        34460  locales/lt.pak
                    ....A       137823        34516  locales/lv.pak
                    ....A       310251        38539  locales/ml.pak
                    ....A       254485        36491  locales/mr.pak
                    ....A       118330        29715  locales/ms.pak
                    ....A       117003        31195  locales/nb.pak
                    ....A       121254        32098  locales/nl.pak
                    ....A       132542        35018  locales/pl.pak
                    ....A       126446        32255  locales/pt-BR.pak
                    ....A       126712        32006  locales/pt-PT.pak
                    ....A       129692        32985  locales/ro.pak
                    ....A       205964        36765  locales/ru.pak
                    ....A       134487        35693  locales/sk.pak
                    ....A       127907        33283  locales/sl.pak
                    ....A       195314        35462  locales/sr.pak
                    ....A       117441        31235  locales/sv.pak
                    ....A       121205        31547  locales/sw.pak
                    ....A       307470        36895  locales/ta.pak
                    ....A       286025        37523  locales/te.pak
                    ....A       240904        32601  locales/th.pak
                    ....A       124043        32067  locales/tr.pak
                    ....A       208946        37018  locales/uk.pak
                    ....A       148122        31975  locales/vi.pak
                    ....A       107558        30013  locales/zh-CN.pak
                    ....A       106738        29455  locales/zh-TW.pak
                    ....A      5066575      4998931  resources.pak
                    ....A          117          106  resources/app-update.yml
                    ....A     19082011      3564506  resources/app.asar
                    ....A       351072        36914  snapshot_blob.bin
                    ....A       671784        91665  v8_context_snapshot.bin
                    ....A          106           96  vk_swiftshader_icd.json
                    ....A    146399744     44195158  Multipedidos - Gestor de Pedidos.exe
                    ....A      4524696      1400147  d3dcompiler_47.dll
                    ....A      2724864       910830  ffmpeg.dll
                    ....A       447488       154524  libEGL.dll
                    ....A      6985728      1794866  libGLESv2.dll
                    ....A       107520        49158  resources/elevate.exe
                    ....A       460800       160396  swiftshader/libEGL.dll
                    ....A      3184128       828771  swiftshader/libGLESv2.dll
                    ....A      4583936      1122398  vk_swiftshader.dll
                    ....A       839168       239890  vulkan-1.dll
------------------- ----- ------------ ------------  ------------------------
                            220201628     65214264  74 files, 3 folders
  • spawning        command=/project/node_modules/app-builder-bin/linux/x64/app-builder download-artifact --name nsis-resources-3.4.1 --url https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-resources-3.4.1/nsis-resources-3.4.1.7z --sha512 Dqd6g+2buwwvoG1Vyf6BHR1b+25QMmPcwZx40atOT57gH27rkjOei1L0JTldxZu4NFoEmW4kJgZ3DlSWVON3+Q==
  • computing effective URL  initialUrl=https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-resources-3.4.1/nsis-resources-3.4.1.7z
                            currentUrl=https://objects.githubusercontent.com/github-production-release-asset-2e65be/65527128/64ac4a00-a87a-11e9-901b-f221c4fd0776?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230705%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230705T203355Z&X-Amz-Expires=300&X-Amz-Signature=df799bacedfa4a728bf6e73bc805fa0e92a962f1304c4685b92704ced1c77d42&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=65527128&response-content-disposition=attachment%3B%20filename%3Dnsis-resources-3.4.1.7z&response-content-type=application%2Foctet-stream
  • downloading     url=https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-resources-3.4.1/nsis-resources-3.4.1.7z length=730800 contentType=application/octet-stream
  • downloading     url=https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-resources-3.4.1/nsis-resources-3.4.1.7z size=731 kB parts=1
  • map async       taskCount=1
  • download part   range=bytes=0-730799 index=0
  • downloaded      url=https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-resources-3.4.1/nsis-resources-3.4.1.7z duration=250ms
  • execute command  command=/project/node_modules/7zip-bin/linux/x64/7za x -bd /root/.cache/electron-builder/nsis/856556150.7z -o/root/.cache/electron-builder/nsis/856556150
                    workingDirectory=/root/.cache/electron-builder/nsis
  • command executed  executable=/project/node_modules/7zip-bin/linux/x64/7za
                      out=
    7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
    p7zip Version 16.02 (locale=C.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz (50657),ASM,AES-NI)
    
    Scanning the drive for archives:
    1 file, 730800 bytes (714 KiB)
    
    Extracting archive: /root/.cache/electron-builder/nsis/856556150.7z
    --
    Path = /root/.cache/electron-builder/nsis/856556150.7z
    Type = 7z
    Physical Size = 730800
    Headers Size = 650
    Method = LZMA2:3m LZMA:20 BCJ2
    Solid = +
    Blocks = 2
    
    Everything is Ok
    
    Folders: 5
    Files: 22
    Size:       2998788
    Compressed: 730800
    
  • exited          command=app-builder code=0 pid=180 out=/root/.cache/electron-builder/nsis/nsis-resources-3.4.1
  • spawning        command=/root/.cache/electron-builder/nsis/nsis-3.0.4.1/linux/makensis -WX -INPUTCHARSET UTF8 -DAPP_ID=com.multipedidos.manager -DAPP_GUID=535e1b1e-2e65-5e8f-ba84-812d12f22d61 -DUNINSTALL_APP_KEY=535e1b1e-2e65-5e8f-ba84-812d12f22d61 -DPRODUCT_NAME=Multipedidos - Gestor de Pedidos -DPRODUCT_FILENAME=Multipedidos - Gestor de Pedidos -DAPP_FILENAME=multipedidos-order-manager -DAPP_DESCRIPTION=Multipedidos - Gestor de Pedidos -DVERSION=4.2.3 -DPROJECT_DIR=/project -DBUILD_RESOURCES_DIR=/project/build -DAPP_PACKAGE_NAME=multipedidos-order-manager -DMUI_ICON=/project/src/assets/icons/win/AppIcon.ico -DMUI_UNICON=/project/src/assets/icons/win/AppIcon.ico -DAPP_64=/project/dist/multipedidos-order-manager-4.2.3-x64.nsis.7z -DAPP_64_NAME=multipedidos-order-manager-4.2.3-x64.nsis.7z -DAPP_64_HASH=0F504A3E56B1AD03115DC57976580E3C0DA7BF29451EDE04CD8098B71F3947BD77379946112A7802259429CE2F295AA4D008C061F401D0AE57F53001C5C51968 -DAPP_64_UNPACKED_SIZE=215041 -DCOMPANY_NAME=Multipedidos -DAPP_PRODUCT_FILENAME=Multipedidos - Gestor de Pedidos -DAPP_INSTALLER_STORE_FILE=multipedidos-order-manager-updater\installer.exe -DCOMPRESSION_METHOD=7z -DONE_CLICK -DRUN_AFTER_FINISH -DSHORTCUT_NAME=Multipedidos - Gestor de Pedidos -DUNINSTALL_DISPLAY_NAME=Multipedidos - Gestor de Pedidos 4.2.3 -DESTIMATED_SIZE=215041 -DCOMPRESS=auto -DBUILD_UNINSTALLER -DUNINSTALLER_OUT_FILE=Z:\project\dist\__uninstaller-nsis-multipedidos-order-manager.exe -XOutFile "/project/dist/Multipedidos - Gestor de Pedidos Setup 4.2.3.exe" -XVIProductVersion 4.2.3.0 -XVIAddVersionKey /LANG=1033 ProductName "Multipedidos - Gestor de Pedidos" -XVIAddVersionKey /LANG=1033 ProductVersion "4.2.3" -XVIAddVersionKey /LANG=1033 LegalCopyright "Copyright © 2023 Multipedidos" -XVIAddVersionKey /LANG=1033 FileDescription "Multipedidos - Gestor de Pedidos" -XVIAddVersionKey /LANG=1033 FileVersion "4.2.3" -XVIAddVersionKey /LANG=1033 CompanyName "Multipedidos" -XUnicode true -XSetCompressor zlib - cwd=/project/node_modules/app-builder-lib/templates/nsis
Command line defined: "APP_ID=com.multipedidos.manager"
Command line defined: "APP_GUID=535e1b1e-2e65-5e8f-ba84-812d12f22d61"
Command line defined: "UNINSTALL_APP_KEY=535e1b1e-2e65-5e8f-ba84-812d12f22d61"
Command line defined: "PRODUCT_NAME=Multipedidos - Gestor de Pedidos"
Command line defined: "PRODUCT_FILENAME=Multipedidos - Gestor de Pedidos"
Command line defined: "APP_FILENAME=multipedidos-order-manager"
Command line defined: "APP_DESCRIPTION=Multipedidos - Gestor de Pedidos"
Command line defined: "VERSION=4.2.3"
Command line defined: "PROJECT_DIR=/project"
Command line defined: "BUILD_RESOURCES_DIR=/project/build"
Command line defined: "APP_PACKAGE_NAME=multipedidos-order-manager"
Command line defined: "MUI_ICON=/project/src/assets/icons/win/AppIcon.ico"
Command line defined: "MUI_UNICON=/project/src/assets/icons/win/AppIcon.ico"
Command line defined: "APP_64=/project/dist/multipedidos-order-manager-4.2.3-x64.nsis.7z"
Command line defined: "APP_64_NAME=multipedidos-order-manager-4.2.3-x64.nsis.7z"
Command line defined: "APP_64_HASH=0F504A3E56B1AD03115DC57976580E3C0DA7BF29451EDE04CD8098B71F3947BD77379946112A7802259429CE2F295AA4D008C061F401D0AE57F53001C5C51968"
Command line defined: "APP_64_UNPACKED_SIZE=215041"
Command line defined: "COMPANY_NAME=Multipedidos"
Command line defined: "APP_PRODUCT_FILENAME=Multipedidos - Gestor de Pedidos"
Command line defined: "APP_INSTALLER_STORE_FILE=multipedidos-order-manager-updater\installer.exe"
Command line defined: "COMPRESSION_METHOD=7z"
Command line defined: "ONE_CLICK"
Command line defined: "RUN_AFTER_FINISH"
Command line defined: "SHORTCUT_NAME=Multipedidos - Gestor de Pedidos"
Command line defined: "UNINSTALL_DISPLAY_NAME=Multipedidos - Gestor de Pedidos 4.2.3"
Command line defined: "ESTIMATED_SIZE=215041"
Command line defined: "COMPRESS=auto"
Command line defined: "BUILD_UNINSTALLER"
Command line defined: "UNINSTALLER_OUT_FILE=Z:\project\dist\__uninstaller-nsis-multipedidos-order-manager.exe"
Processing config: /root/.cache/electron-builder/nsis/nsis-3.0.4.1/nsisconf.nsh
Processing script file: "<stdin>" (UTF8)
Processed 1 file, 10 command line commands, writing output (x86-unicode):
Output: "/project/dist/Multipedidos - Gestor de Pedidos Setup 4.2.3.exe"
Install: 1 page (64 bytes), 1 section (32792 bytes), 49 instructions (1372 bytes), 3845 strings (32856 bytes), 26 language tables (5044 bytes).
Uninstall: 1 page (128 bytes), 1 section (32792 bytes), 704 instructions (19712 bytes), 6015 strings (67346 bytes), 26 language tables (6500 bytes).
Using zlib compression.
EXE header size:              150528 / 39424 bytes
Install code:                  12807 / 56208 bytes
Install data:                      0 / 8 bytes
Uninstall code+data:           94634 / 188122 bytes
CRC (0xBE7CC8AA):                  4 / 4 bytes
Total size:                   257973 / 283766 bytes (90.9%)
  • exited          command=makensis code=0 pid=192
  • spawning        command=/project/node_modules/app-builder-bin/linux/x64/app-builder wine --ia32 /project/dist/Multipedidos - Gestor de Pedidos Setup 4.2.3.exe
  • execute command  command=wine '/project/dist/Multipedidos - Gestor de Pedidos Setup 4.2.3.exe' workingDirectory=
  • command executed  executable=wine
                      out=Error: Could not find process "Multipedidos - Gestor de Pedidos.exe".
                      errorOut=0034:err:module:process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found
    002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
    00cc:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
    
  • exited          command=app-builder code=0 pid=193
  • spawning        command=/root/.cache/electron-builder/nsis/nsis-3.0.4.1/linux/makensis -WX -INPUTCHARSET UTF8 -DAPP_ID=com.multipedidos.manager -DAPP_GUID=535e1b1e-2e65-5e8f-ba84-812d12f22d61 -DUNINSTALL_APP_KEY=535e1b1e-2e65-5e8f-ba84-812d12f22d61 -DPRODUCT_NAME=Multipedidos - Gestor de Pedidos -DPRODUCT_FILENAME=Multipedidos - Gestor de Pedidos -DAPP_FILENAME=multipedidos-order-manager -DAPP_DESCRIPTION=Multipedidos - Gestor de Pedidos -DVERSION=4.2.3 -DPROJECT_DIR=/project -DBUILD_RESOURCES_DIR=/project/build -DAPP_PACKAGE_NAME=multipedidos-order-manager -DMUI_ICON=/project/src/assets/icons/win/AppIcon.ico -DMUI_UNICON=/project/src/assets/icons/win/AppIcon.ico -DAPP_64=/project/dist/multipedidos-order-manager-4.2.3-x64.nsis.7z -DAPP_64_NAME=multipedidos-order-manager-4.2.3-x64.nsis.7z -DAPP_64_HASH=0F504A3E56B1AD03115DC57976580E3C0DA7BF29451EDE04CD8098B71F3947BD77379946112A7802259429CE2F295AA4D008C061F401D0AE57F53001C5C51968 -DAPP_64_UNPACKED_SIZE=215041 -DCOMPANY_NAME=Multipedidos -DAPP_PRODUCT_FILENAME=Multipedidos - Gestor de Pedidos -DAPP_INSTALLER_STORE_FILE=multipedidos-order-manager-updater\installer.exe -DCOMPRESSION_METHOD=7z -DONE_CLICK -DRUN_AFTER_FINISH -DSHORTCUT_NAME=Multipedidos - Gestor de Pedidos -DUNINSTALL_DISPLAY_NAME=Multipedidos - Gestor de Pedidos 4.2.3 -DESTIMATED_SIZE=215041 -DCOMPRESS=auto -DUNINSTALLER_OUT_FILE=/project/dist/__uninstaller-nsis-multipedidos-order-manager.exe -XOutFile "/project/dist/Multipedidos - Gestor de Pedidos Setup 4.2.3.exe" -XVIProductVersion 4.2.3.0 -XVIAddVersionKey /LANG=1033 ProductName "Multipedidos - Gestor de Pedidos" -XVIAddVersionKey /LANG=1033 ProductVersion "4.2.3" -XVIAddVersionKey /LANG=1033 LegalCopyright "Copyright © 2023 Multipedidos" -XVIAddVersionKey /LANG=1033 FileDescription "Multipedidos - Gestor de Pedidos" -XVIAddVersionKey /LANG=1033 FileVersion "4.2.3" -XVIAddVersionKey /LANG=1033 CompanyName "Multipedidos" -XUnicode true -XSetCompressor zlib - cwd=/project/node_modules/app-builder-lib/templates/nsis
Command line defined: "APP_ID=com.multipedidos.manager"
Command line defined: "APP_GUID=535e1b1e-2e65-5e8f-ba84-812d12f22d61"
Command line defined: "UNINSTALL_APP_KEY=535e1b1e-2e65-5e8f-ba84-812d12f22d61"
Command line defined: "PRODUCT_NAME=Multipedidos - Gestor de Pedidos"
Command line defined: "PRODUCT_FILENAME=Multipedidos - Gestor de Pedidos"
Command line defined: "APP_FILENAME=multipedidos-order-manager"
Command line defined: "APP_DESCRIPTION=Multipedidos - Gestor de Pedidos"
Command line defined: "VERSION=4.2.3"
Command line defined: "PROJECT_DIR=/project"
Command line defined: "BUILD_RESOURCES_DIR=/project/build"
Command line defined: "APP_PACKAGE_NAME=multipedidos-order-manager"
Command line defined: "MUI_ICON=/project/src/assets/icons/win/AppIcon.ico"
Command line defined: "MUI_UNICON=/project/src/assets/icons/win/AppIcon.ico"
Command line defined: "APP_64=/project/dist/multipedidos-order-manager-4.2.3-x64.nsis.7z"
Command line defined: "APP_64_NAME=multipedidos-order-manager-4.2.3-x64.nsis.7z"
Command line defined: "APP_64_HASH=0F504A3E56B1AD03115DC57976580E3C0DA7BF29451EDE04CD8098B71F3947BD77379946112A7802259429CE2F295AA4D008C061F401D0AE57F53001C5C51968"
Command line defined: "APP_64_UNPACKED_SIZE=215041"
Command line defined: "COMPANY_NAME=Multipedidos"
Command line defined: "APP_PRODUCT_FILENAME=Multipedidos - Gestor de Pedidos"
Command line defined: "APP_INSTALLER_STORE_FILE=multipedidos-order-manager-updater\installer.exe"
Command line defined: "COMPRESSION_METHOD=7z"
Command line defined: "ONE_CLICK"
Command line defined: "RUN_AFTER_FINISH"
Command line defined: "SHORTCUT_NAME=Multipedidos - Gestor de Pedidos"
Command line defined: "UNINSTALL_DISPLAY_NAME=Multipedidos - Gestor de Pedidos 4.2.3"
Command line defined: "ESTIMATED_SIZE=215041"
Command line defined: "COMPRESS=auto"
Command line defined: "UNINSTALLER_OUT_FILE=/project/dist/__uninstaller-nsis-multipedidos-order-manager.exe"
Processing config: /root/.cache/electron-builder/nsis/nsis-3.0.4.1/nsisconf.nsh
Processing script file: "<stdin>" (UTF8)
Processed 1 file, 10 command line commands, writing output (x86-unicode):
Output: "/project/dist/Multipedidos - Gestor de Pedidos Setup 4.2.3.exe"
Install: 1 page (64 bytes), 1 section (32792 bytes), 880 instructions (24640 bytes), 6589 strings (72434 bytes), 26 language tables (6604 bytes).
Using zlib compression.
EXE header size:              150528 / 39424 bytes
Install code:                  27675 / 120614 bytes
Install data:               65638632 / 66015955 bytes
CRC (0x0553C131):                  4 / 4 bytes
Total size:                 65816839 / 66175997 bytes (99.4%)
  • exited          command=makensis code=0 pid=261
  • building block map  blockMapFile=dist/Multipedidos - Gestor de Pedidos Setup 4.2.3.exe.blockmap
  • spawning        command=/project/node_modules/app-builder-bin/linux/x64/app-builder blockmap --input /project/dist/Multipedidos - Gestor de Pedidos Setup 4.2.3.exe --output /project/dist/Multipedidos - Gestor de Pedidos Setup 4.2.3.exe.blockmap
  • exited          command=app-builder code=0 pid=262 out={"size":65816839,"sha512":"2Od6we+OXGyxls2zNz2N108zGtZ8Y45CT8k5gkVvxjA0o5L2sY8RY0+mLj1DHi3fyifScVh+PCG5VFYFw1kxIw=="}
Done in 211.59s.

@GazHank
Copy link

GazHank commented Jul 5, 2023

Do you have mono and other build dependencies setup correctly too? (per https://www.electron.build/multi-platform-build.html#to-build-app-for-windows-on-linux)

Since you are seeing issues even when you force it to use the prebuild binaries, I think this is a problem with the cross build process itself (or missing dependencies) rather than with the compile of the native module.

@Marlonzao
Copy link

I used the Docker section of this tutorial...

image

Could this warning be the reason of my problems? Everything worked fine till the serialport package was added

@GazHank
Copy link

GazHank commented Jul 5, 2023

hmm, which image are you using? electronuserland/builder:wine-mono ?

@Marlonzao
Copy link

Marlonzao commented Jul 5, 2023

I'm currently using image electronuserland/builder:wine

@Marlonzao
Copy link

@GazHank, do you recommend switching over to electronuserland/builder:wine-mono? Could it work better?

@GazHank
Copy link

GazHank commented Jul 7, 2023

It might be worth a try... if I try to cross build the electron-serialport example it requires mono, so your project might be the same

@Marlonzao
Copy link

@GazHank Hello, I've finally tested changing my dockerfile to electronuserland/builder:wine-mono and updated serialport to v11, but still...

image

I'm starting to wonder if I could hire your help with this for any chance as this issue is needed to be solved in order to delivery a new feature for my company clients.

Thanks for all the help.

@GazHank
Copy link

GazHank commented Jul 16, 2023

@Marlonzao do you know if this is purely a cross build issues? Does this work without issue if you build directly on a Windows machine (rather than via docker)?

@Marlonzao
Copy link

@GazHank Building directly on a windows virtual machine raises this error:

image

@GazHank
Copy link

GazHank commented Jul 17, 2023

@Marlonzao ok, so this looks to be a different problem compared to this initial issue. I think we might need more info about your project setup, or debug info from the build process. I've a feeling that the build process itself might throw out some warning signs if you enable debug during the builder process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants