wulkano/kap

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

開放

#883 建立於 2020年7月10日

 (1 則留言) (0 個反應) (0 位負責人)TypeScript (855 個分叉)batch import
Help WantedPriority: LowSentryType: Bug

倉庫指標

星標
 (17,203 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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)

貢獻者指南