微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

如何解决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 举报,一经查实,本站将立刻删除。