Voxeet 示例应用程序启动但访问 https://localhost:8080 显示错误
Voxeet sample app started but visiting https://localhost:8080 shows an error
我已经注册 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
它说该项目是 运行 在 localhost,但是当我尝试访问 localhost 时它显示以下错误并失败:
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_source\voxeet\node_modules\handle-thing\lib\handle.js:120:12)
at Stream.emit (events.js:215:7) at endReadableNT
(E:\kjy\itinerary_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
,node版本是12.11.1
,yarn版本是1.19.0
。
谁能告诉我这里出了什么问题?
我将我的 nodejs 版本降级到 10.15.3 (LTS) 并且它有效。
我从 https://github.com/voxeet/voxeet-web-conferencekit.git. For more info, refer to: https://github.com/voxeet/voxeet-web-conferencekit/issues/1 下载了源代码
特别感谢 Energizz@voxeet。
我已经注册 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
它说该项目是 运行 在 localhost,但是当我尝试访问 localhost 时它显示以下错误并失败:
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_source\voxeet\node_modules\handle-thing\lib\handle.js:120:12) at Stream.emit (events.js:215:7) at endReadableNT (E:\kjy\itinerary_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
,node版本是12.11.1
,yarn版本是1.19.0
。
谁能告诉我这里出了什么问题?
我将我的 nodejs 版本降级到 10.15.3 (LTS) 并且它有效。 我从 https://github.com/voxeet/voxeet-web-conferencekit.git. For more info, refer to: https://github.com/voxeet/voxeet-web-conferencekit/issues/1 下载了源代码 特别感谢 Energizz@voxeet。