Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install on CentOS 7 #81

Open
ccpplinux opened this issue Nov 3, 2020 · 3 comments
Open

Unable to install on CentOS 7 #81

ccpplinux opened this issue Nov 3, 2020 · 3 comments

Comments

@ccpplinux
Copy link

ccpplinux commented Nov 3, 2020

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

@ianramzy
Copy link
Owner

ianramzy commented Nov 3, 2020 via email

@ccpplinux
Copy link
Author

My node version is

v12.14.0

@ccpplinux
Copy link
Author

My npm version is 6.13.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants