【问题标题】:uncaughtException: navigator is not defined when running backand.init in node.jsuncaughtException:在 node.js 中运行 backand.init 时未定义导航器
【发布时间】:2017-10-27 12:37:22
【问题描述】:

我的 node.js 脚本调用了backand.init(),我在运行脚本时遇到了错误。

error: uncaughtException: navigator is not defined
error: ReferenceError: navigator is not defined
    at Object.backand.init (node_modules/@backand/vanilla-sdk/dist/backand.js:1714:15)

我使用 node 命令在 mac 终端上运行了脚本。 我在 backand/nodejs-sdk npm 上测试了 demo.js,但出现了同样的错误。

【问题讨论】:

    标签: backand


    【解决方案1】:

    刚刚修好了。升级到最新的 nodejs SDK

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-11-14
      • 2021-04-14
      • 2018-09-14
      • 2020-02-07
      • 2018-12-03
      • 1970-01-01
      • 2018-09-25
      • 2017-05-02
      相关资源
      最近更新 更多