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).
Error: Cannot find module './uws_linux_x64_93.node'
const { buildSync } = require('esbuild');
const process = require('process');
const glob = require('glob');
buildSync({
entryPoints: glob.sync(`${process.argv.pop()}/**/**`)
.filter((path) => path.endsWith('.ts')),
platform: 'node',
bundle: true,
minify: true,
outdir: 'dist',
format: 'esm',
loader: {
'.html': 'text',
'.css': 'text',
},
});
node -v: v16.19.0