uNetworking / uWebSockets.js

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

Error in uws.js #863

Closed atshushi closed 1 year ago

atshushi commented 1 year ago

Error: This version of uWS.js supports only Node.js 16 and 18, and 19 on (glibc) Linux, macOS and Windows, on Tier 1 platforms (https://github.com/nodejs/node/blob/master/BUILDING.md#platform-list).

My node version is v18.13.0 and i'm using yarn

uNetworkingAB commented 1 year ago

I'm not going to read your mind for details. Nobody can infer anything of value from this report

atshushi commented 1 year ago

what information do you want?

uNetworkingAB commented 1 year ago

Read the text and figure that out

eudaimos commented 1 year ago

@atshushi are you using a bundler in front of running the app?

I was and had the same problem, but with some help figured out the issue. You need to mark uWebSockets.js as an external dependency so the bundler doesn't try to bundle it into the single file.

uNetworkingAB commented 1 year ago

I don't see why we should play 20 questions to try and pinpoint what he could have said from the start. This is not how a report is written, it's not for us to play detective for other people's gain