Build process hangs on 'packaging'
See original GitHub issue- Version: 20.16.0
- Target: Windows
I am trying to wrap React (CRA based) project with electron and it worked just fine:) untill this morning when the building process hanged on the ‘packaging’ step, when I’ve terminated the process following error appeared:
Error: C:\project\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code 2 at ChildProcess.childProcess.once.code (C:\project\node_modules\builder-util\src\util.ts:251:14) at Object.onceWrapper (events.js:317:30) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at maybeClose (internal/child_process.js:925:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) From previous event: at copyNodeModules (C:\project\node_modules\electron-builder-lib\out\util\AppFileCopierHelper.js:321:18) at C:\project\node_modules\electron-builder-lib\src\platformPackager.ts:261:42 at Generator.next (<anonymous>) From previous event: at then (C:\project\node_modules\electron-builder-lib\src\platformPackager.ts:257:14) From previous event: at _computeFileSets (C:\project\node_modules\electron-builder-lib\src\platformPackager.ts:258:10) at WinPackager.copyAppFiles (C:\project\node_modules\electron-builder-lib\src\platformPackager.ts:280:27) at C:\project\node_modules\electron-builder-lib\src\platformPackager.ts:214:10 at Generator.next (<anonymous>) at runCallback (timers.js:794:20) at tryOnImmediate (timers.js:752:5) at processImmediate [as _immediateCallback] (timers.js:729:5) From previous event: at WinPackager.doPack (C:\project\node_modules\electron-builder-lib\src\platformPackager.ts:162:151) at C:\project\node_modules\electron-builder-lib\src\platformPackager.ts:117:16 at Generator.next (<anonymous>) From previous event: at WinPackager.pack (C:\project\node_modules\electron-builder-lib\src\platformPackager.ts:115:95) at C:\project\node_modules\electron-builder-lib\src\packager.ts:379:24 at Generator.next (<anonymous>) at xfs.stat (C:\project\node_modules\fs-extra-p\node_modules\fs-extra\lib\mkdirs\mkdirs.js:56:16) at C:\project\node_modules\graceful-fs\polyfills.js:287:18 at FSReqWrap.oncomplete (fs.js:153:5) From previous event: at Packager.doBuild (C:\project\node_modules\electron-builder-lib\src\packager.ts:347:39) at C:\project\node_modules\electron-builder-lib\src\packager.ts:323:52 at Generator.next (<anonymous>) at C:\project\node_modules\graceful-fs\graceful-fs.js:99:16 at C:\project\node_modules\graceful-fs\graceful-fs.js:43:10 at FSReqWrap.oncomplete (fs.js:135:15) From previous event: at Packager._build (C:\project\node_modules\electron-builder-lib\src\packager.ts:300:133) at C:\project\node_modules\electron-builder-lib\src\packager.ts:296:23 at Generator.next (<anonymous>) at runCallback (timers.js:794:20) at tryOnImmediate (timers.js:752:5) at processImmediate [as _immediateCallback] (timers.js:729:5) From previous event: at Packager.build (C:\project\node_modules\electron-builder-lib\src\packager.ts:254:14) at C:\project\node_modules\electron-builder-lib\src\index.ts:51:40 at Generator.next (<anonymous>) From previous event: at build (C:\project\node_modules\electron-builder-lib\out\index.js:220:17) at build (C:\project\node_modules\electron-builder\src\builder.ts:234:10) at then (C:\project\node_modules\electron-builder\src\cli\cli.ts:46:19) at <anonymous>
$ build -c.extraMetadata.main=build/electron.js • electron-builder version=20.16.0 • loaded configuration file=package.json (“build” field) • loaded parent configuration preset=react-cra • description is missed in the package.json appPackageFile=C:\dev\reactjs\KioskUI\UserInterface\package.json • writing effective config file=dist\electron-builder-effective-config.yaml • rebuilding native production dependencies platform=win32 arch=x64 • rebuilding native dependency name=node-sass • packaging platform=win32 arch=x64 electron=2.0.3 appOutDir=dist\win-unpacked
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (1 by maintainers)
Top GitHub Comments
@damianobarbati Will be fixed soon.
⨯ macOS Catalina doesn’t support 32-bit executables and as result Wine cannot run Windows 32-bit applications too