wulkano/kap

Error: dialog module can only be used after app is ready

Open

#883 ouverte le 10 juil. 2020

Voir sur GitHub
 (1 commentaire) (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-6Q9

Error: dialog module can only be used after app is ready
  File "app:///main/utils/errors.js", line 18, in showError
    const {response} = await dialog.showMessageBox({
  File "app:///main/plugin.js", line 54, in new InstalledPlugin
    showError(error, {title: `Something went wrong while loading “${pluginName}”`});
  File "app:///main/common/plugins.js", line 228, in null.<anonymous>
    return this._pluginNames().map(name => new InstalledPlugin(name));
  ?, in Array.map
  File "app:///main/common/plugins.js", line 228, in Plugins.getInstalled
    return this._pluginNames().map(name => new InstalledPlugin(name));
...
(5 additional frame(s) were not displayed)

Guide contributeur