Fmstrat / Fmstrat/pushover-desktop

JavaScript Error on Start

Open
#3 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Shell
Stars
20
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Immediately upon launching the app I get the following error:

```
A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Error processing argument at index 0, conversion failure from undefined
at Object.createTrayIcon (/Applications/Pushover.app/Contents/Resources/app/lib/webpack:/nativefier-placeholder/src/components/trayIcon.ts:13:32)
at App. (/Applications/Pushover.app/Contents/Resources/app/lib/webpack:/nativefier-placeholder/src/main.ts:163:5)
at App.emit (events.js:315:20)
```

When I click OK nothing happens, the window stays empty.

I'm using macOS 12.0.1.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the launch failure on macOS 12.0.1, then inspect lib/webpack:/nativefier-placeholder/src/components/trayIcon.ts at createTrayIcon and src/main.ts around line 163. Trace the undefined argument causing the conversion failure; done means the app launches without the JavaScript error and the window is no longer empty.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript, typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.