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

[Kubuntu] (node:18092) UnhandledPromiseRejectionWarning: Error: ERR_INVALID_URL (-300) loading '' #351

Open
Darkempire78 opened this issue Jul 27, 2021 · 0 comments

Comments

@Darkempire78
Copy link

Description

Steps to Reproduce the Problem

  1. download my project https://github.com/Darkempire78/Fast-Clipboard-Recover
  2. npm i / npm start

Error

(node:18092) UnhandledPromiseRejectionWarning: Error: ERR_INVALID_URL (-300) loading ''
    at rejectAndCleanup (electron/js2c/browser_init.js:213:985)
    at Object.failListener (electron/js2c/browser_init.js:213:1198)
    at Object.emit (events.js:315:20)
    at NavigationController.loadURL (electron/js2c/browser_init.js:213:2102)
    at BrowserWindow.n.loadURL (electron/js2c/browser_init.js:33:1779)
    at Menubar.<anonymous> (/home/darkempire/Bureau/Fast-Clipboard-Recover/node_modules/menubar/lib/Menubar.js:360:66)
    at step (/home/darkempire/Bureau/Fast-Clipboard-Recover/node_modules/menubar/lib/Menubar.js:57:23)
    at Object.next (/home/darkempire/Bureau/Fast-Clipboard-Recover/node_modules/menubar/lib/Menubar.js:38:53)
    at /home/darkempire/Bureau/Fast-Clipboard-Recover/node_modules/menubar/lib/Menubar.js:32:71
    at new Promise (<anonymous>)
(Use `electron --trace-warnings ...` to show where the warning was created)
(node:18092) 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)
(node:18092) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Specifications

  • Menubar version: 9.0.5
  • Platform: Kubuntu v20.04.02 LTS, KDE
  • Electron version: 13.1.7

Other information

I use electron-forge

@Darkempire78 Darkempire78 changed the title (node:18092) UnhandledPromiseRejectionWarning: Error: ERR_INVALID_URL (-300) loading '' [Kubuntu] (node:18092) UnhandledPromiseRejectionWarning: Error: ERR_INVALID_URL (-300) loading '' Jul 27, 2021
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

1 participant