infinitered / infinitered/reactotron
Starting reactotron throw an error in cli
- Dominant language
- TypeScript
- Stars
- 15.6k
- Forks
- 972
- PR merge metrics
- No merged PRs in 30d
Description
I've installed Reactotron in Manjaro-Linux as package.
If I start reactotron, I got an error like this:
> [07:13:18.057] [info] Checking for update
> [07:13:18.298] [error] Error: Error: ENOENT: no such file or directory, open '/opt/Reactotron/resources/app-update.yml'
> at /opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:460:27
> at Generator.next ()
> From previous event:
> at AppImageUpdater.loadUpdateConfig (/opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:456:33)
> at Lazy.AppUpdater.configOnDisk (/opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:142:43)
> at Lazy.get value [as value] (/opt/Reactotron/resources/app.asar/node_modules/lazy-val/src/main.ts:18:23)
> at /opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:340:46
> at Generator.next ()
> at runCallback (timers.js:696:18)
> at tryOnImmediate (timers.js:667:5)
> at processImmediate (timers.js:649:5)
> From previous event:
> at AppImageUpdater.getUpdateInfoAndProvider (/opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:336:43)
> at /opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:363:31
> at Generator.next ()
> From previous event:
> at AppImageUpdater.doCheckForUpdates (/opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:360:34)
> at AppImageUpdater.checkForUpdates (/opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:220:35)
> at AppImageUpdater.checkForUpdatesAndNotify (/opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:249:41)
> at new on (/opt/Reactotron/resources/app.asar/src/webpack:/src/main.dev.js:48:5)
> at AppUpdater (/opt/Reactotron/resources/app.asar/src/webpack:/src/main.dev.js:94:9)
> at App.emit (events.js:187:15)
> Unhandled rejection Error: ENOENT: no such file or directory, open '/opt/Reactotron/resources/app-update.yml'
> at /opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:460:27
> at Generator.next ()
> From previous event:
> at AppImageUpdater.loadUpdateConfig (/opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:456:33)
> at Lazy.AppUpdater.configOnDisk (/opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:142:43)
> at Lazy.get value [as value] (/opt/Reactotron/resources/app.asar/node_modules/lazy-val/src/main.ts:18:23)
> at /opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:340:46
> at Generator.next ()
> at runCallback (timers.js:696:18)
> at tryOnImmediate (timers.js:667:5)
> at processImmediate (timers.js:649:5)
> From previous event:
> at AppImageUpdater.getUpdateInfoAndProvider (/opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:336:43)
> at /opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:363:31
> at Generator.next ()
> From previous event:
> at AppImageUpdater.doCheckForUpdates (/opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:360:34)
> at AppImageUpdater.checkForUpdates (/opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:220:35)
> at AppImageUpdater.checkForUpdatesAndNotify (/opt/Reactotron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:249:41)
> at new on (/opt/Reactotron/resources/app.asar/src/webpack:/src/main.dev.js:48:5)
> at AppUpdater (/opt/Reactotron/resources/app.asar/src/webpack:/src/main.dev.js:94:9)
> at App.emit (events.js:187:15)
>
Contributor guide
Research direction
The stack trace points to src/main.dev.js at lines 48 and 94 and electron-updater's AppImageUpdater; start by reproducing startup with the Manjaro/Linux package and tracing the update check. Done means the packaged app starts without the missing app-update.yml error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100