-1

我正在尝试运行 bigblubutton-html5 的开发环境,但是下面是运行以下命令后生成的错误消息:

npm start

这是我遵循的教程:https ://docs.bigbluebutton.org/2.2/dev.html

这是错误消息:

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bbb-html5-client@ start:dev: `ROOT_URL=http://127.0.0.1/html5client NODE_ENV=development meteor`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the bbb-html5-client@ start:dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-04-30T23_28_17_291Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bbb-html5-client@ start: `if test "$NODE_ENV" = "production" ; then npm run start:prod; else npm run start:dev; fi`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the bbb-html5-client@ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-04-30T23_28_17_304Z-debug.log
4

1 回答 1

1

我得到了解决方案

第一的

meteor npm install

然后

export METEOR_ALLOW_SUPERUSER=true

最后

npm start 

这些命令为我解决了这个问题。

如果第一次不起作用,也许您需要先执行此步骤。

npm cache clean --force

rm -r node_modules

rm -r package-lock.json

并再次尝试第一个命令。

于 2020-05-04T14:02:00.103 回答