question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Building the app doesn't work

See original GitHub issue

this the error log

$ npm run dist-windows

secure-electron-template@5.1.6 dist-windows C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master npm run prod-build && electron-builder --windows

secure-electron-template@5.1.6 prod-build C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master cross-env NODE_ENV=production npx webpack --mode=production --config ./webpack.production.js

Hash: 5f880b068b91abf62e55 Version: webpack 4.44.2 Time: 7719ms Built at: 2020-10-09 18:34:24 Asset Size Chunks Chunk Names bundle.js 1.07 MiB 0 [emitted] [big] main bundle.js.map 1.55 MiB 0 [emitted] [dev] main index-prod.html 522 bytes [emitted] main.css 1.99 KiB 0 [emitted] main main.css.map 965 bytes 0 [emitted] [dev] main Entrypoint main [big] = main.css bundle.js main.css.map bundle.js.map [7] ./app/src/constants/routes.json 134 bytes {0} [built] [8] (webpack)/buildin/global.js 472 bytes {0} [built] [14] (webpack)/buildin/module.js 497 bytes {0} [built] [17] ./node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js + 3 modules 70.8 KiB {0} [built] | 4 modules [70] ./node_modules/react-i18next/dist/es/index.js + 4 modules 15 KiB {0} [built] | 5 modules [133] ./app/localization/i18n.config.js 918 bytes {0} [built] [138] multi ./app/src/index.jsx 28 bytes {0} [built] [154] ./app/localization/whitelist.js 2.11 KiB {0} [built] [159] ./app/src/pages/welcome/welcome.css 39 bytes {0} [built] [267] ./app/src/pages/motd/motd.css 39 bytes {0} [built] [268] ./app/src/pages/localization/localization.css 39 bytes {0} [built] [270] ./app/src/pages/undoredo/undoredo.css 39 bytes {0} [built] [272] ./app/src/core/root.css 39 bytes {0} [built] [273] ./app/src/index.jsx + 52 modules 181 KiB {0} [built] | ./app/src/index.jsx 530 bytes [built] | ./app/src/core/root.jsx 3.74 KiB [built] | ./app/src/redux/store/store.js 1.62 KiB [built] | ./app/src/core/routes.jsx 4.24 KiB [built] | ./app/src/redux/reducers/rootReducer.js 607 bytes [built] | ./app/src/pages/welcome/welcome.jsx 4.32 KiB [built] | ./app/src/pages/motd/motd.jsx 5.74 KiB [built] | ./app/src/pages/localization/localization.jsx 3.95 KiB [built] | ./app/src/pages/undoredo/undoredo.jsx 8.5 KiB [built] | ./app/src/pages/contextmenu/contextmenu.jsx 5.07 KiB [built] | + 43 hidden modules [274] ./node_modules/i18next/dist/esm/i18next.js + 10 modules 76.7 KiB {0} [built] | 11 modules + 266 hidden modules

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). This can impact web performance. Assets: bundle.js (1.07 MiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance. Entrypoints: main (1.08 MiB) main.css bundle.js

WARNING in webpack performance recommendations: You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application. For more info visit https://webpack.js.org/guides/code-splitting/ Child HtmlWebpackCompiler: 1 asset Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0 [0] ./node_modules/html-webpack-plugin/lib/loader.js!./app/src/index-prod.html 232 bytes {0} [built] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!app/src/core/root.css: Entrypoint mini-css-extract-plugin = * [0] ./node_modules/css-loader/dist/cjs.js!./app/src/core/root.css 534 bytes {0} [built] + 1 hidden module Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!app/src/pages/contextmenu/contextmenu.css: Entrypoint mini-css-extract-plugin = * [0] ./node_modules/css-loader/dist/cjs.js!./app/src/pages/contextmenu/contextmenu.css 594 bytes {0} [built] + 1 hidden module Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!app/src/pages/localization/localization.css: Entrypoint mini-css-extract-plugin = * [0] ./node_modules/css-loader/dist/cjs.js!./app/src/pages/localization/localization.css 614 bytes {0} [built] + 1 hidden module Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!app/src/pages/motd/motd.css: Entrypoint mini-css-extract-plugin = * [0] ./node_modules/css-loader/dist/cjs.js!./app/src/pages/motd/motd.css 689 bytes {0} [built] + 1 hidden module Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!app/src/pages/undoredo/undoredo.css: Entrypoint mini-css-extract-plugin = * [0] ./node_modules/css-loader/dist/cjs.js!./app/src/pages/undoredo/undoredo.css 679 bytes {0} [built] + 1 hidden module Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!app/src/pages/welcome/welcome.css: Entrypoint mini-css-extract-plugin = * [0] ./node_modules/css-loader/dist/cjs.js!./app/src/pages/welcome/welcome.css 449 bytes {0} [built] + 1 hidden module ÔÇó electron-builder version=22.8.1 os=10.0.18362 ÔÇó loaded configuration file=package.json (“build” field) ÔÇó packaging platform=win32 arch=x64 electron=10.1.3 appOutDir=dist\win-unpacked ÔÇó downloading url=https://github.com/electron/electron/releases/download/v10.1.3/electron-v10.1.3-win32-x64.zip size=77 MB parts=8 ÔÇó downloaded url=https://github.com/electron/electron/releases/download/v10.1.3/electron-v10.1.3-win32-x64.zip duration=1m3.324s ÔÇó 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 ÔÇó downloaded url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.6.0/winCodeSign-2.6.0.7z duration=23.73s ÔÇó building target=MSI arch=x64 file=dist\YourProductName 5.1.6.msi ÔÇó building target=nsis file=dist\YourProductName Setup 5.1.6.exe archs=x64 oneClick=true perMachine=false ÔÇó downloading url=https://github.com/electron-userland/electron-builder-binaries/releases/download/wix-4.0.0.5512.2/wix-4.0.0.5512.2.7z size=2.2 MB parts=1 ÔÇó 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 Ô¿» Get “https://github-production-release-asset-2e65be.s3.amazonaws.com/65527128/ef212b60-b8f8-11e7-9ab4-004e6174b0d5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201009%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201009T163652Z&X-Amz-Expires=300&X-Amz-Signature=ac0f34a7baf00b2bdab0f3ffa7fd56116cbf215676899239d2ec91fe55659703&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=65527128&response-content-disposition=attachment%3B filename%3Dwix-4.0.0.5512.2.7z&response-content-type=application%2Foctet-stream”: dial tcp 52.216.152.68:443: connectex: Une tentative de connexion a ├®chou├® car le parti connect├® nÔÇÖa pas r├®pondu convenablement au-del├á dÔÇÖune certaine dur├®e ou une connexion ├®tablie a ├®chou├® car lÔÇÖh├┤te de connexion nÔÇÖa pas r├®pondu. github.com/develar/app-builder/pkg/download.(*Part).doRequest Y:/Documents/app-builder/pkg/download/Part.go:108 github.com/develar/app-builder/pkg/download.(*Part).download Y:/Documents/app-builder/pkg/download/Part.go:47 github.com/develar/app-builder/pkg/download.(*Downloader).DownloadResolved.func1.1 Y:/Documents/app-builder/pkg/download/downloader.go:155 github.com/develar/app-builder/pkg/util.MapAsyncConcurrency.func2 Y:/Documents/app-builder/pkg/util/async.go:68 runtime.goexit c:/go/src/runtime/asm_amd64.s:1373 Ô¿» Get “https://github-production-release-asset-2e65be.s3.amazonaws.com/65527128/10518a80-10f6-11ea-8d2f-403bab81b4cd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201009%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201009T163652Z&X-Amz-Expires=300&X-Amz-Signature=d575549958ef3cdb71e302676b336e4b28e2c122aa4fed56aafc0989958468f9&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=65527128&response-content-disposition=attachment%3B filename%3Dnsis-3.0.4.1.7z&response-content-type=application%2Foctet-stream”: dial tcp 52.216.152.68:443: connectex: Une tentative de connexion a ├®chou├® car le parti connect├® nÔÇÖa pas r├®pondu convenablement au-del├á dÔÇÖune certaine dur├®e ou une connexion ├®tablie a ├®chou├® car lÔÇÖh├┤te de connexion nÔÇÖa pas r├®pondu. github.com/develar/app-builder/pkg/download.(*Part).doRequest Y:/Documents/app-builder/pkg/download/Part.go:108 github.com/develar/app-builder/pkg/download.(*Part).download Y:/Documents/app-builder/pkg/download/Part.go:47 github.com/develar/app-builder/pkg/download.(*Downloader).DownloadResolved.func1.1 Y:/Documents/app-builder/pkg/download/downloader.go:155 github.com/develar/app-builder/pkg/util.MapAsyncConcurrency.func2 Y:/Documents/app-builder/pkg/util/async.go:68 runtime.goexit c:/go/src/runtime/asm_amd64.s:1373 Ô¿» Cannot cleanup:

Error #1 -------------------------------------------------------------------------------- Error: C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE at ChildProcess.<anonymous> (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\builder-util\src\util.ts:243:14) at Object.onceWrapper (events.js:422:26) at ChildProcess.emit (events.js:315:20) at maybeClose (internal/child_process.js:1021:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)

Error #2 -------------------------------------------------------------------------------- Error: C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE at ChildProcess.<anonymous> (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\builder-util\src\util.ts:243:14) at Object.onceWrapper (events.js:422:26) at ChildProcess.emit (events.js:315:20) at maybeClose (internal/child_process.js:1021:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) From previous event: at processImmediate (internal/timers.js:456:21) From previous event: at NsisTarget.buildInstaller (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-lib\src\targets\nsis\NsisTarget.ts:203:29) at NsisTarget.finishBuild (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-lib\src\targets\nsis\NsisTarget.ts:110:7) at async Promise.all (index 2) at AsyncTaskManager.awaitTasks (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\builder-util\src\asyncTaskManager.ts:65:25) at Packager.doBuild (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-lib\src\packager.ts:456:5) at executeFinally (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\builder-util\src\promise.ts:12:14) at Packager._build (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-lib\src\packager.ts:373:31) at Packager.build (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-lib\src\packager.ts:337:12) at executeFinally (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\builder-util\src\promise.ts:12:14) stackTrace= Error: Cannot cleanup:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Error #1 --------------------------------------------------------------------------------
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Error: C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at ChildProcess.<anonymous> (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\builder-util\src\util.ts:243:14)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at Object.onceWrapper (events.js:422:26)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at ChildProcess.emit (events.js:315:20)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at maybeClose (internal/child_process.js:1021:16)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Error #2 --------------------------------------------------------------------------------
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Error: C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at ChildProcess.<anonymous> (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\builder-util\src\util.ts:243:14)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at Object.onceWrapper (events.js:422:26)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at ChildProcess.emit (events.js:315:20)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at maybeClose (internal/child_process.js:1021:16)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    From previous event:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at processImmediate (internal/timers.js:456:21)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    From previous event:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at NsisTarget.buildInstaller (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-lib\src\targets\nsis\NsisTarget.ts:203:29)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at NsisTarget.finishBuild (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-lib\src\targets\nsis\NsisTarget.ts:110:7)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at async Promise.all (index 2)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at AsyncTaskManager.awaitTasks (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\builder-util\src\asyncTaskManager.ts:65:25)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at Packager.doBuild (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-lib\src\packager.ts:456:5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at executeFinally (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\builder-util\src\promise.ts:12:14)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at Packager._build (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-lib\src\packager.ts:373:31)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at Packager.build (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-lib\src\packager.ts:337:12)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at executeFinally (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\builder-util\src\promise.ts:12:14)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at throwError (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\builder-util\src\asyncTaskManager.ts:90:11)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at checkErrors (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\builder-util\src\asyncTaskManager.ts:53:9)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at AsyncTaskManager.awaitTasks (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\builder-util\src\asyncTaskManager.ts:67:7)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at Packager.doBuild (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-lib\src\packager.ts:456:5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at executeFinally (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\builder-util\src\promise.ts:12:14)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at Packager._build (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-lib\src\packager.ts:373:31)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at Packager.build (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\app-builder-lib\src\packager.ts:337:12)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        at executeFinally (C:\Users\DESKTOP\Desktop\Applications\secure-electron-template-master\node_modules\builder-util\src\promise.ts:12:14)

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! secure-electron-template@5.1.6 dist-windows: npm run prod-build && electron-builder --windows npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the secure-electron-template@5.1.6 dist-windows script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\DESKTOP\AppData\Roaming\npm-cache_logs\2020-10-09T16_37_14_492Z-debug.log

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
oxneatcommented, Oct 12, 2020

Yeah you are right , it didn’t work because i did an “npm audit fix” command on the proj and it messed up a dependency . overall thanks for your time this project is awesome.

1reaction
reZachcommented, Oct 10, 2020

@oxneat Please get the latest for the template, this release fixes your bug.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix an installed Android app that isn't working - Google Support
Step 1: Restart & update · Open the Google Play Store app Google Play . · At the top right, tap the profile...
Read more >
BUILD not loading: Issues with BUILD
The reasons why BUILD cannot be loaded cannot be more different. In most cases it is due to your own internet connection. It...
Read more >
Dealing With Problems With Building the App & Detox
This page is about issues related to building the app, typically triggered when running detox build (and not detox test, for example).
Read more >
new builds not show in app store connect - Apple Developer
I faced same problem, everything I upload build to App Store Testflight, all the time it shows 'uploaded' in xcode organizer listing but...
Read more >
is BUILD not working / having issues for you? - 99images
Try Hard reboot in your Android mobile. Press and hold down the "Home" and "Power" buttons at the same time for upto 10...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found