wulkano/kap

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

Open

#883 建立於 2020年7月10日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (11,043 star) (548 fork)batch import
Help WantedPriority: LowSentryType: Bug

描述

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)

貢獻者指南