新版的WebAR怎么部署到自己的服务器上

0 投票
最新提问 9月 17, 2021 用户: desiki (200 分)
本地的已经跑成功了。想部署到服务器上老是报错,网上找的那些教程都是旧版的simpledemo,有个recognize.php可以配置。新版的token demo已经没有这个文件了。该怎么部署?

1个回答

0 投票
最新回答 9月 17, 2021 用户: desiki (200 分)
怎么上传图片啊晕。。

文字描述下吧

域名:https://localhost:4433/TokenThreeJsExample/

能显示网页,但是报错没有摄像头选项,报错内容:

adapter.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

vconsole.min.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

webar.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

app.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

adapter.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

vconsole.min.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

webar.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

app.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

(索引):49 Uncaught ReferenceError: VConsole is not defined
    at (索引):49
    at (索引):54
DevTools 无法加载源映射: 无法加载https://localhost:4433/TokenThreeJsExample/asset/js/ThreeHelper.js.map 的内容:HTTP 错误: 状态代码 404,net::ERR_HTTP_RESPONSE_CODE_FAILURE
欢迎来到 EasyAR Q&A ,有什么不懂的可以尽管在这里提问,你将会收到社区其他成员的回答。
...