wulkano/kap

Error: The 'screen' module can't be used before the app 'ready' event

Open

#891 ouverte le 10 juil. 2020

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)JavaScript (548 forks)batch import
Help WantedPriority: LowSentryType: Bug

Métriques du dépôt

Stars
 (11 043 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Sentry Issue: KAP-7AN

Error: The 'screen' module can't be used before the app 'ready' event
  File "app:///main/cropper.js", line 20, in closeAllCroppers
    screen.removeAllListeners('display-removed');
  File "app:///main/preferences.js", line 16, in openPrefsWindow
    closeAllCroppers();
  File "app:///main/utils/deep-linking.js", line 22, in null.<anonymous>
    const triggerPluginAction = action => name => openPrefsWindow({target: {name, action}});
  File "app:///main/utils/deep-linking.js", line 34, in handleDeepLink
    return routes.get(host)(pathname.slice(1));
  File "app:///main/index.js", line 124, in App.<anonymous>
    handleDeepLink(url);
...
(5 additional frame(s) were not displayed)

Guide contributeur