Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Error is thrown out when Nodejs ups to 10.x #3319
For Nodejs 8.x and 9.x (with uws = 8.x) works properly.
For Nodejs 10.x + uws (>= 8.x <= 9.x)： it throws an error saying "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'".
For Nodejs 10.x + uws (>=10.x)：cannot find module 'uws'.
Steps to reproduce (if the current behaviour is a bug)
Just assign 'uws' to
Works properly like Node 8 or 9.
See the DUPLICATED
@Maledong UWS has been deprecated because the owner wanted to make a hefty personal statement. There is nothing wrong with the code, but he has decided to go out of his way to publish an EMPTY package just to break about everything on the internet. What a f**ing do*chebag.
@Andrews54757：I see, however I'm not sure whether you've noticed that since Nodejs 10.x, the uws cannot be used and there'll be runtime error... This is a serious problem, and we have to use Node v8, 9, if we wanna keep this uws or when the author fixed that.... Try to think what will we do if we're running on Nodejs 10.x or later versions in the future according to this senario?! And this is just what I'm worrying about, so hope you understand.
I don't mean the BUG is created in your own project but just because of this f**ing reason. Maybe we have to work around this problem by removing this or doing something trick to cope with that.
What's more, the version is changing too rapidly, which looks unstable:(
Ah ha haha……
@Maledong Hmm, UWS with NodeJS 10.x does not work? I am using nodejs 10.10.0 and UWS is working fine.
Make sure to use the last UWS release that works (Not an empty package):
I had that error too. Fixed by switching UWS from latest to that version. Seems like the package owner intentionally broke stuff (He put an empty package), so of course you get the
That is why he is a f**ing do*chebag. Not only did he deprecate it, but he put an EMPTY package as
The empty package he published is version
Only the readme file, and the package.json file. That is it.
According to the user, this is why (Not making url to prevent linking back here):