我在安装jitsi-meet时遇到了一个问题,我已经按照这个页面上的说明进行了安装。我的系统是ubuntu 14.04。
https://github.com/jitsi/jitsi-meet
当我执行npm安装时,我有这样的堆栈跟踪:
npm http 404 https://registry.npmjs.org/jitsi-meet-logger
npm ERR! TypeError: Object.keys called on non-object
npm ERR! at Function.keys (native)
npm ERR! at installTargetsError (/usr/share/npm/lib/cache.js:708:24)
npm ERR! at /usr/share/npm/lib/cache.js:638:10
npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR! at /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR! System Linux 4.4.0-31-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /videochat/jitsi-meet
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! type called_on_non_object
npm http 404 https://registry.npmjs.org/jQuery-Impromptu
npm ERR! TypeError: Object.keys called on non-object
npm ERR! at Function.keys (native)
npm ERR! at installTargetsError (/usr/share/npm/lib/cache.js:708:24)
npm ERR! at /usr/share/npm/lib/cache.js:638:10
npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR! at /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR! System Linux 4.4.0-31-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /videochat/jitsi-meet
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! type called_on_non_object它卡住了,有没有其他方法可以安装jitsi-meet并使其正常工作?
致以敬意,
发布于 2017-07-23 05:25:41
你使用的Node和npm版本太旧了。为了构建Jitsi Meet,您至少需要Node6和npm 3:https://github.com/jitsi/jitsi-meet#building-the-sources
发布于 2021-02-18 13:49:40
最新的Jitsi适用于node lts版本。如果你使用ubuntu环境,那么你必须安装n,之后,你可以很容易地改变你的节点环境。
https://stackoverflow.com/questions/45236546
复制相似问题