Luka967 / OgarII

FOSS implementation of a private Agar.io gameserver, made with Node.js.
Other
66 stars 38 forks source link

Error with uws module #58

Open Petrivah opened 4 years ago

Petrivah commented 4 years ago

Sorry for such a stupid question, but I have it. So, Error: 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'. OS: Windows 10 I installed MinGW and GCC compilers and npm windows-build-tools, but I still get the same error...

undekali commented 4 years ago

Try using Node version 8, it works fine for me.

Petrivah commented 4 years ago

I do not want to use old versions of node, are there other ways to fix this problem? (Except just replacing uws with just ws everywhere)

undekali commented 4 years ago

Switching my node to version 8 is the only way i found to solve this problem. I guess the application is outdated and doesn't support the newest versions of the program. Idk i'm a newbie after all.

freaky767 commented 3 years ago

use pull request #53; works just fine when using cWS