wulkano/kap

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

Open

#883 opened on Jul 10, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (11,043 stars) (548 forks)batch import
Help WantedPriority: LowSentryType: Bug

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)

Contributor guide