Npm Bigbluebutton开发html5客户端未启动

Npm Bigbluebutton开发html5客户端未启动,npm,meteor,bigbluebutton,Npm,Meteor,Bigbluebutton,我已经按照官方文档设置了bigbluebutton开发环境,但是html5客户端没有启动,抛出了以下错误。尝试使用不同的服务器,但出现相同错误 if (oldPresenter?.userId !== currentPresenterId) { W20201227-04:07:46.391(0)? (STDERR) ^ W20201227-04:07:46.392(0)? (STDERR) W20201227-04:07:46.392(0)?

我已经按照官方文档设置了bigbluebutton开发环境,但是html5客户端没有启动,抛出了以下错误。尝试使用不同的服务器,但出现相同错误

     if (oldPresenter?.userId !== currentPresenterId) {
W20201227-04:07:46.391(0)? (STDERR)                      ^
W20201227-04:07:46.392(0)? (STDERR)
W20201227-04:07:46.392(0)? (STDERR) SyntaxError: Unexpected token .
W20201227-04:07:46.392(0)? (STDERR)     at createScript (vm.js:80:10)
W20201227-04:07:46.393(0)? (STDERR)     at Object.runInThisContext (vm.js:139:10)
W20201227-04:07:46.393(0)? (STDERR)     at /home/ubuntu/dev/bigbluebutton/bigbluebutton-html5/.meteor/local/build/programs/server/boot.js:393:30
W20201227-04:07:46.393(0)? (STDERR)     at Array.forEach (<anonymous>)
W20201227-04:07:46.394(0)? (STDERR)     at /home/ubuntu/dev/bigbluebutton/bigbluebutton-html5/.meteor/local/build/programs/server/boot.js:220:19
W20201227-04:07:46.394(0)? (STDERR)     at /home/ubuntu/dev/bigbluebutton/bigbluebutton-html5/.meteor/local/build/programs/server/boot.js:471:5
W20201227-04:07:46.394(0)? (STDERR)     at Function.run (/home/ubuntu/dev/bigbluebutton/bigbluebutton-html5/.meteor/local/build/programs/server/profile.js:510:12)
W20201227-04:07:46.395(0)? (STDERR)     at /home/ubuntu/dev/bigbluebutton/bigbluebutton-html5/.meteor/local/build/programs/server/boot.js:470:11
if(oldPresenter?.userId!==currentPresenterId){
W20201227-04:07:46.391(0)?(标准)^
W20201227-04:07:46.392(0)?(标准)
W20201227-04:07:46.392(0)?(标准)语法错误:意外标记。
W20201227-04:07:46.392(0)?(STDERR)位于createScript(vm.js:80:10)
W20201227-04:07:46.393(0)?(STDERR)位于Object.runInThisContext(vm.js:139:10)
W20201227-04:07:46.393(0)?(STDERR)在/home/ubuntu/dev/bigblubbutton/bigblubbutton-html5/.meteor/local/build/programs/server/boot.js:393:30
W20201227-04:07:46.393(0)?(标准)在Array.forEach()处
W20201227-04:07:46.394(0)?(STDERR)位于/home/ubuntu/dev/bigblubbutton/bigblubbutton-html5/.meteor/local/build/programs/server/boot.js:220:19
W20201227-04:07:46.394(0)?(STDERR)位于/home/ubuntu/dev/bigblubbutton/bigblubbutton-html5/.meteor/local/build/programs/server/boot.js:471:5
W20201227-04:07:46.394(0)?(STDERR)位于Function.run(/home/ubuntu/dev/bigbluberbutton/bigbluberbutton-html5/.meteor/local/build/programs/server/profile.js:510:12)
W20201227-04:07:46.395(0)?(STDERR)位于/home/ubuntu/dev/bigblubbutton/bigblubbutton-html5/.meteor/local/build/programs/server/boot.js:470:11
我没有更改任何文件


nodejs版本v8.17.0

node 8不支持
x?.y
语法。您需要使用老式语法:

     if (oldPresenter && oldPresenter.userId !== currentPresenterId) {

或者不管你的逻辑是什么。

我将note更新为最新的相同错误,我假设你的意思是“node”而不是“note”,对吗?但即使是这样,我的答案对你不起作用吗?应该!是的,我的意思是Node:),不幸的是没有起作用。但对于其他人来说,新安装的bigbluebutton dev env也有同样的问题,你应该签出V2.2.x-release分支,错误就会消失。