3

我正在为 AR 项目使用https://github.com/jeromeetienne/AR.js和 three.js,在本地一切正常,但是当我在服务器(platform.sh)上部署时,在接受相机后出现此错误:

Uncaught ExitStatus ar.js:19
message: "Program terminated with exit(0)"
name: "ExitStatus"
status:    0
__proto__: Error at https://xxx.eu.platform.sh/assets/js/ar.js:19:2247
   constructor: ƒ ExitStatus(status)
     arguments:    null
     caller:    null
     length:    1
     name:    "ExitStatus"
     prototype: Error at https://xxx.eu.platform.sh/assets/js/ar.js:19:2247
    __proto__: ƒ ()
    [[FunctionLocation]]:  ar.js:19
    [[Scopes]]: Scopes[1]
   stack: "Error↵    at https://xxx.eu.platform.sh/assets/js/ar.js:19:2247"

这是我正在使用的构建https://github.com/jeromeetienne/AR.js/blob/master/three.js/build/ar.js 如何解决这个问题?

PS:这发生在最新版本的 Chrome、Safari 和 Firefox 上

4

0 回答 0