2017-05-26 12 views
0

我的node.js腳本調用backand.init(),並且在運行腳本時出現錯誤。uncaughtException:在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) 

我用節點命令在mac終端上運行腳本。 我在backand/nodejs-sdk npm上測試了demo.js,但發生了同樣的錯誤。

回答

1

它只是固定的。升級到最新的nodejs SDK

相關問題