我试图运行bigblubutton-html5的开发环境,然而下面是运行以下命令后产生的错误信息。
npm start
这是我遵循的教程 https:/docs.bigbluebutton.org2.2dev.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
我得到了解决方案
第一
meteor npm install
然后
export METEOR_ALLOW_SUPERUSER=true
最后
npm start
这些命令为我解决了这个问题。
如果第一次没有成功,也许你需要先做这个步骤。
npm cache clean --force
rm -r node_modules
rm -r package-lock.json
然后再试试第一个命令。