fin.Platform.Layout.init() 抛出一个错误,说平台没有运行

问题描述

尝试通过运行 fin.Platform.Layout.init()(在客户端)来初始化我的 openfin 应用程序会引发错误:The targeted Platform is not currently running. Listen for an application-started event for the given Uuid.。我找不到有关此错误实际含义的任何文档/参考资料。

我正在使用 "hadouken-js-adapter": "^17.54.32"; 我使用以下 WindowConfig 启动我的应用程序:

{
  name: 'default-app',url: `http://localhost:5555`,uuid: 'default-app-uuid',autoShow: true,nonPersistent : true,frame: false,cornerRounding: {
        width: 5,height: 5,},layout: {
    content: [{
      "type": "component","componentName": "view","componentState": {
          "processAffinity": "ps_1","url": "https://cdn.openfin.co/embed-web/chart.html"
      }
    }]
  }
}

窗口打开,openfin 应用其内部样式,但在初始化过程中途失败。有什么想法吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...