最新消息: 电脑我帮您提供丰富的电脑知识,编程学习,软件下载,win7系统下载。

Voxeet示例应用程序已启动,但访问https: localhost:8080时显示错误

IT培训 admin 3浏览 0评论

Voxeet示例应用程序已启动,但访问https:// localhost:8080时显示错误

我注册了voxeet,并获得了我的消费者密钥进行试用。

并且我将consumerKeyconsumerSecret键添加到了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
 for documentation about this
command. ```

我的npm版本为6.11.3,节点版本为12.11.1,纱线版本为1.19.0

谁能告诉我这是怎么回事?

回答如下:

我将我的nodejs版本降级到10.15.3(LTS),并且可以正常工作。我从https://github/voxeet/voxeet-web-conferencekit.git下载了源代码。有关更多信息,请参考:https://github/voxeet/voxeet-web-conferencekit/issues/1特别感谢Energizz @ voxeet。

Voxeet示例应用程序已启动,但访问https:// localhost:8080时显示错误

我注册了voxeet,并获得了我的消费者密钥进行试用。

并且我将consumerKeyconsumerSecret键添加到了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
 for documentation about this
command. ```

我的npm版本为6.11.3,节点版本为12.11.1,纱线版本为1.19.0

谁能告诉我这是怎么回事?

回答如下:

我将我的nodejs版本降级到10.15.3(LTS),并且可以正常工作。我从https://github/voxeet/voxeet-web-conferencekit.git下载了源代码。有关更多信息,请参考:https://github/voxeet/voxeet-web-conferencekit/issues/1特别感谢Energizz @ voxeet。

发布评论

评论列表 (0)

  1. 暂无评论