max-mapper / max-mapper/menubar
[Kubuntu] (node:18092) UnhandledPromiseRejectionWarning: Error: ERR_INVALID_URL (-300) loading ''
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.8k
- Forks
- 363
- PR merge metrics
- No merged PRs in 30d
Description
Description
Steps to Reproduce the Problem
- download my project https://github.com/Darkempire78/Fast-Clipboard-Recover
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the report with npm i and npm start using the linked Fast-Clipboard-Recover project, then inspect the failing Menubar.loadURL call at node_modules/menubar/lib/Menubar.js:360 and the Electron NavigationController.loadURL stack. Done means the application starts without ERR_INVALID_URL or an unhandled promise rejection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100