jesusvilla / natural

Fastest Framework for NodeJS. Written in pure ES6+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not available for last LTS

waghanza opened this issue · comments

Hi @jesusvilla,

The uWeSockets version used

"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.8.0"

is not available on node last LTS, 18.12

/usr/src/app/node_modules/uWebSockets.js/uws.js:22
		throw new Error('This version of µWS is not compatible with your Node.js build:\n\n' + e.toString());
		      ^

Error: This version of µWS is not compatible with your Node.js build:

Error: Cannot find module './uws_linux_x64_108.node'
Require stack:
- /usr/src/app/node_modules/uWebSockets.js/uws.js
- /usr/src/app/node_modules/natural-framework/lib/router/types/uws.js
- /usr/src/app/node_modules/natural-framework/lib/router/index.js
- /usr/src/app/app.js
    at /usr/src/app/node_modules/uWebSockets.js/uws.js:22:9
    at Object.<anonymous> (/usr/src/app/node_modules/uWebSockets.js/uws.js:24:3)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/usr/src/app/node_modules/natural-framework/lib/router/types/uws.js:3:13)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)

Node.js v18.12.1

Regards,


Related to the-benchmarker/web-frameworks#5968