I am trying to install this package on my CentOS VPS. After running npm install command, following warning messages were displayed:
npm WARN ws@7.3.1 requires a peer of bufferutil@^4.0.1 but none was installed.
npm WARN ws@7.3.1 requires a peer of utf-8-validate@^5.0.2 but none was installed.
npm WARN video-chat2@1.0.0 No repository field.
npm WARN video-chat2@1.0.0 license should be a valid SPDX license expression
And after running npm start command, following error messages were displayed:
> video-chat2@1.0.0 start /home/ccpplinux/decentralized-video-chat
> node server.js
/home/ccpplinux/decentralized-video-chat/node_modules/ws/lib/websocket.js:345
...options
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/ccpplinux/decentralized-video-chat/node_modules/ws/index.js:3:19)
npm ERR! Linux 3.10.0-229.1.2.el7.x86_64
npm ERR! argv "/usr/bin/node" "/bin/npm" "start"
npm ERR! node v6.17.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! video-chat2@1.0.0 start: `node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the video-chat2@1.0.0 start script 'node server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the video-chat2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs video-chat2
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls video-chat2
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/ccpplinux/decentralized-video-chat/npm-debug.log
npm-debug.log
I am trying to install this package on my CentOS VPS. After running npm install command, following warning messages were displayed:
And after running npm start command, following error messages were displayed:
npm-debug.log