Description
Describe the bug
After executing the build command "npm run electron:build". The build is not successful.
Current version of the node 20.11.0
Exit code:
1 failedTask=build stackTrace=Error: C:\Users\moham\Desktop\angular-electron-main\angular-electron-main\node_modules\app-builder-bin\win\x64\app-builder.exe process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
1
at ChildProcess. (C:\Users\moham\Desktop\angular-electron-main\angular-electron-main\node_modules\builder-util\src\util.ts:252:14)
at Object.onceWrapper (node:events:633:26)
at ChildProcess.emit (node:events:518:28)
at ChildProcess.cp.emit (C:\Users\moham\Desktop\angular-electron-main\angular-electron-main\node_modules\cross-spawn\lib\enoent.js:34:29)
at maybeClose (node:internal/child_process:1105:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)