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)

贡献者指南