uNetworking / uWebSockets.js

μWebSockets for Node.js back-ends :metal:
Apache License 2.0
7.85k stars 569 forks source link

Node v15 support - Centos 7/8 #500

Closed ramiroaisen closed 3 years ago

ramiroaisen commented 3 years ago

First of all, thanks for this great sofware... Are you planning to support node v15.x ? Centos 7/8 pre-built binaries would be great too. Thanks

hst-m commented 3 years ago

Where did you get idea Node 15 was not supported? Centos is Linux and yes Linux is also supported with the standard install which includes binaries

ramiroaisen commented 3 years ago

in nodejs v15 It tries to load uws...88.node (nodejs modules version) that is not present If you try to load the uws...83.node you get a "Module did not self register error" Also I had to install uws from here https://github.com/dominicklee/uWebSockets.js-for-Centos7 to make it run on centos 7.

Is there something im doing wrong?, I installed via npm uwebsockets.js package

hst-m commented 3 years ago

Install with npm install uWebSockets.js@uNetworking/uWebSockets.js#v18.14.0 and use require('uWebSockets.js')

I have not tried uWS on Centos 7/8. Seems like as long as you install Node correctly the uWS binaries should work

ghost commented 3 years ago

Centos 7 has a 6 year old compiler installed and is not a target platform

ramiroaisen commented 3 years ago

Is the same with Centos 8?

hst-m commented 3 years ago

I just booted up CentOS 8 and installed Node 15 + uWS.js and ran a server in like 1 minute with no issues, just needed to install Git, not sure where you are having problem

ramiroaisen commented 3 years ago

No. I have Centos 7 in my machine, i was just asking if the same problem was there in Centos 8, glad it doesnt Thank you!

hst-m commented 3 years ago

I just tried CentOS 7 and I did hit that GLIBC_2.18 not found error, so ya something up with CentOS 7 but yes CentOS 8 works fine