sap-labs-france / ev-server

The Open e-Mobility Charging Station management backend server (check also ev-dashboard and ev-mobile)
https://open-e-mobility.fr/
Apache License 2.0
151 stars 141 forks source link

Error running the server on Node 20.15.1 #4237

Open adiv13 opened 3 months ago

adiv13 commented 3 months ago

Hello,

I'm trying to run the ev-server on Node v20.15.1 under Windows 10 and I get the following error:

ev-server\node_modules\uWebSockets.js\uws.js:24 })(); ^ Error: This version of uWS.js supports only Node.js 14, 16 and 18 on (glibc) Linux, macOS and Windows, on Tier 1 platforms (https://github.com/nodejs/node/blob/master/BUILDING.md#platform-list).

Error: Cannot find module './uws_win32_x64_115.node'

Any help will be appreciated.

nimda95 commented 2 months ago

Downgrade to node-18 or upgrade uWebSockets.js to the latest version