uNetworking/uWebSockets.js

Support of Node 23.х (module version 131)

Closed this issue · 9 comments

In a new version of NodeJS modules have a version 131 (see: nodejs/node@17a17164d6) to adopt a new V8 version.

Please, add support of this platform

Yes it will come soon

I think that even 22 isn't supported currently:

Error: This version of uWS.js supports only Node.js versions 18, 20, 21 and 22 on (glibc) Linux, macOS and Windows, on Tier 1 platforms 
Error: Cannot find module './uws_win32_x64_127.node'
node -v
v22.11.0

You need to update uWS

any updates?

You can install latest nightly builds

npm install uNetworking/uWebSockets.js#binaries

Aha

D:\a\uWebSockets.js\uWebSockets.js\uWebSockets.js\targets\node-v23.0.0\include\node\v8config.h(13): fatal error C1189: #error: "C++20 or later required."

This thing is failing on Windows Node 23

// gcc 10 defines __cplusplus to "an unspecified value strictly larger than
// 201703L" for its experimental -std=gnu++2a config.
// TODO(leszeks): Change to __cplusplus <= 202002L once we only support
// compilers with full C++20 support.
#if __cplusplus <= 201703L
#error "C++20 or later required."
#endif

**the reason is the version of node is too high, you should downgrade the version to v20

brew install node@20

v22 is too higher

https://zoujiu.com.cn

https://nodejs.org/zh-cn/download/package-manager**