Код: Выделить всё
bun --watch ./uws/uws.js
17 |
18 | module.exports = (() => {
19 | try {
20 | return require('./uws_' + process.platform + '_' + process.arch + '_' + process.versions.modules + '.node');
21 | } catch (e) {
22 | throw new Error('This version of uWS.js supports only Node.js LTS versions 16, 18 and 20 on (glibc) Linux, macOS and Windows, on Tier 1 platforms (https://github.com/nodejs/node/blob/master/BUILDING.md#platform-list).\n\n' + e.toString());
^
error: This version of uWS.js supports only Node.js LTS versions 16, 18 and 20 on (glibc) Linux, macOS and Windows, on Tier 1 platforms (https://github.com/nodejs/node/blob/master/BUILDING.md#platform-list).
ResolveMessage: Cannot find module './uws_linux_x64_127.node' from '/home/_--_/Documents/Projects/Bun/node_modules/uwebsockets/uws.js'
at (/home/_--_/Documents/Projects/Bun/node_modules/uwebsockets/uws.js:22:9)
at (/home/_--_/Documents/Projects/Bun/node_modules/uwebsockets/uws.js:22:240)
и сделать его локальным с ASDF Local Nodejs 16.16.0
Ошибка.>
Подробнее здесь: https://stackoverflow.com/questions/796 ... r-on-linux
Мобильная версия