Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug value and errors #18

Open
ghost opened this issue Feb 23, 2022 · 2 comments
Open

Debug value and errors #18

ghost opened this issue Feb 23, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 23, 2022

Setting debug to false in order to prevent the dev tools window from popping up results in getting a blank page.

Is there a way to disable the dev tools window popping up?

I am also getting the following errors upon start in the console:

(node:517563) UnhandledPromiseRejectionWarning: Error: An object could not be cloned.
    at EventEmitter.t.ipcRendererInternal.send (node:electron/js2c/renderer_init:85:328)
    at EventEmitter.<anonymous> (node:electron/js2c/renderer_init:81:357)
(Use `electron --trace-warnings ...` to show where the warning was created)
(node:517563) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
@hailiang-wang
Copy link

hailiang-wang commented Jul 12, 2022

In the console, an error happens, where app fails to get a file.

image

This compiled file could be generated with

npm run start:control

After that, run npm start.

@samuelfaj
Copy link

samuelfaj commented Oct 28, 2023

Same here. It doesn't work without debug mode.

One interesting thing is: it works if I maximize the blank screen.

PS:

It's happening only in windows. Mac is ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants