Issue Desktop App Using Bootstrap and Electron

Any pointers on how to fix this would be much-appreciated, works fine if I use Framework7 but I’d like to use bootstrap.

Wappler Version: v4.9.1
Operating System: macOS Monterey

Expected behavior

I should be able to change the Electron settings within the project settings and run the emulation of a desktop app.

Actual behavior

Electron settings are missing from the project settings.

Run your project for electron …

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "

helloworld@1.0.0 electron:start-live
node ./live-runner.js

helloworld@1.0.0 build
tsc && electron-rebuild

node:events:505
throw er; // Unhandled ‘error’ event
^

Error: spawn /Users/jamiebyrne/Documents/resto-test-2/electron/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted ‘error’ event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -2,
code: ‘ENOENT’,
syscall: ‘spawn /Users/jamiebyrne/Documents/resto-test-2/electron/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron’,
path: ‘/Users/jamiebyrne/Documents/resto-test-2/electron/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron’,
spawnargs: [ ‘–inspect=5858’, ‘./’ ]
}
".] {
code: ‘ERR_UNHANDLED_REJECTION’
}
electron run successfully!

Community Page
Last updated: