Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Has anyone managed to run Soketi on FreeBSD? #1148

Open
Piecio opened this issue Apr 10, 2024 · 0 comments
Open

Has anyone managed to run Soketi on FreeBSD? #1148

Piecio opened this issue Apr 10, 2024 · 0 comments

Comments

@Piecio
Copy link

Piecio commented Apr 10, 2024

Has anyone managed to run soketi on FreeBSD? (Node 18.19.1, npm 10.5.0)

I run the server application with the command:

soketi start

and I get the error:

`/usr/home/dobrys/.npm-global/lib/node_modules/@soketi/soketi/node_modules/uWebSockets.js/uws.js:22
throw new 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).\n\n' + e.toString());
^

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_freebsd_x64_108.node'
Require stack:

  • /usr/home/dobrys/.npm-global/lib/node_modules/@soketi/soketi/node_modules/uWebSockets.js/uws.js
  • /usr/home/dobrys/.npm-global/lib/node_modules/@soketi/soketi/dist/server.js
  • /usr/home/dobrys/.npm-global/lib/node_modules/@soketi/soketi/dist/index.js
  • /usr/home/dobrys/.npm-global/lib/node_modules/@soketi/soketi/dist/cli/cli.js
  • /usr/home/dobrys/.npm-global/lib/node_modules/@soketi/soketi/dist/cli/index.js
  • /usr/home/dobrys/.npm-global/lib/node_modules/@soketi/soketi/bin/server.js
    at /usr/home/dobrys/.npm-global/lib/node_modules/@soketi/soketi/node_modules/uWebSockets.js/uws.js:22:9
    at Object. (/usr/home/dobrys/.npm-global/lib/node_modules/@soketi/soketi/node_modules/uWebSockets.js/uws.js:24:3)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Module._load (node:internal/modules/cjs/loader:1013:12)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at require (node:internal/modules/helpers:177:18)
    at Object. (/usr/home/dobrys/.npm-global/lib/node_modules/@soketi/soketi/dist/server.js:18:13)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)`

There is no 'uws_freebsd_x64_108.node' file in node_modules/@soketi/soketi/node_modules/uWebSockets.js directory:
image

@Piecio Piecio changed the title FreeBSD + Soketi Has anyone managed to run Soketi on FreeBSD? Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant