Open RomainL972 opened 4 years ago
Bump -- I have the exact same issue as above, except I am running a Windows 10 x64 system.
This should work, cWS is much more stable than uWS as a drop-in replacement. I use it in production.
I've tried your fork @chewyiscrunchy but the compiling fails. Here is the error log: https://pastebin.com/pyfsKea6
@RomainL972 Alright, this is a very uWS specific issue, I may try to port OgarII for the new uWebSockets.js library, but it probably wont fix the problem.
Both libraries detect the operation system in the same manner to figure out what binaries to build, I'm positive this is the point-of-failure as the same problem occurs on other non-conventional operating systems like Alpine Linux.
You could also try to reinstall the requirements for node-gyp
: https://github.com/nodejs/node-gyp
I managed to get it working using an older node version. I saw there was ./uws_linux_64.node so I used node version 10.20.1 (last with version 64 ABI) - you can check here https://nodejs.org/en/download/releases/#ref-1
Hi, I am trying to build this project an ArchLinux. First when I follow the instructions I get the message "Compilation of µWebSockets has failed and there is no pre-compiled binary available for your system. Please install a supported C++11 compiler and reinstall the module 'uws'" It seems to be because uWebSockets tries to use a file named ./uws_linux_79.node which doesn't exist. I've tried compiling uWebSockets from https://github.com/uNetworking/uWebSockets.js but the uws.js file isn't compatible. I might have a nodejs version that is too recent (13.2.0). Do you have any advice?