javascript - Voxeet 示例应用程序已启动,但访问 https://localhost:8080 显示错误
问题描述
我已经注册voxeet
并获得了我的消费者密钥进行试用。
我添加了consumerKey
和consumerSecret
键到我的VoxeetConference.js
并开始yarn
:
$ yarn start
yarn run v1.19.0
$ webpack-dev-server -d --hot --inline --content-base
Project is running at https://localhost:8080/
webpack output is served from / // ... omitted from here
它说该项目正在本地主机上运行,但是当我尝试访问本地主机时,它显示以下错误并失败:
OutgoingMessage.prototype._headers is deprecated internal/buffer.js:940 class FastBuffer extends Uint8Array {} ^ RangeError: Invalid typed array length: -4095 at new Uint8Array () at new FastBuffer (internal/buffer.js:940:1) at Handle.onStreamRead [as onread] (internal/stream_base_commons.js:181:19) at Stream. (E:\kjy\itinerary\02_source\voxeet\node_modules\handle-thing\lib\handle.js:120:12) at Stream.emit (events.js:215:7) at endReadableNT (E:\kjy\itinerary\02_source\voxeet\node_modules\readable-stream\lib_stream_readable.js:1010:12) at processTicksAndRejections (internal/process/task_queues.js:80:21) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ```
我的npm
版本是6.11.3
,节点版本是12.11.1
,纱线版本是1.19.0
。
谁能告诉我这里有什么问题?
解决方案
我将我的 nodejs 版本降级到 10.15.3 (LTS) 并且它工作正常。我从https://github.com/voxeet/voxeet-web-conferencekit.git下载了源代码。有关详细信息,请参阅:https ://github.com/voxeet/voxeet-web-conferencekit/issues/1 特别感谢 Energizz@voxeet。
推荐阅读
- matlab - 维纳滤波器通过相同大小的卷积对模糊图像失败
- python - 完整的 IPv4 地址空间输出
- c# - C# Async Await 和一般异步问题
- javascript - 如何正确使用 .click 在 Javascript 中的 html 编码中选择此类型?
- azure - Azure 认知服务可以与本地模型一起使用吗?
- matplotlib - 带有 matplotlib 绘图的多色标记
- python - 如何访问全局变量
- eclipse - 发布服务器时弹出烦人的wsgen工具
- dynamics-crm - 如何在 MS Dynamics CRM 中创建操作和调用操作?
- sql - 我使用名称数据来生成代码,Sql 更新问题