-
-
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
Build process hangs on 'packaging' #3037
Comments
I have the same problem and I've found the cause after 30 minutes of debugging! This is Windows specific. The problem is in the It hangs on the Working:
Hanging:
SysInternals ProcessExplorer confirms that EDIT: Ok, I'm not the first one to find this develar/app-builder#2 |
Until the issue in
NOTE: Replace it in the |
My fix seems to work for now. |
Yay! I fixed it: develar/app-builder#3 Please pull asap. |
@terorie I still get this hanging here:
Versions (everything to lastest):
What should I do? :( |
@damianobarbati Will be fixed soon. |
I'm amazed how fast this got fixed |
I'm facing this issue on Ubuntu machine how to fix it?!! |
me too. when i run npm run build:win (electron-builder --win --x64) on mac。 i am facing this issue |
i have solve it. when i delete node_modules and npm clear cache --force. then npm install && npm run build:win, it is becomes ok. amazing! |
⨯ macOS Catalina doesn't support 32-bit executables and as result Wine cannot run Windows 32-bit applications too |
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>
The text was updated successfully, but these errors were encountered: