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

npx y-websocket does not work #178

Closed
scenaristeur opened this issue Mar 25, 2024 — with Huly for GitHub · 1 comment
Closed

npx y-websocket does not work #178

scenaristeur opened this issue Mar 25, 2024 — with Huly for GitHub · 1 comment
Assignees
Labels
bug Something isn't working

Comments

Copy link

scenaristeur commented Mar 25, 2024

it was working some hours ago, but it seems that the new version y-websocket@2.0.1 does not work

 PORT=1234 npx y-websocket
/home/user/.npm/_npx/d1c46498107c3f98/node_modules/y-websocket/bin/utils.cjs:99
export const setContentInitializor = (f) => {
^^^^^^

SyntaxError: Unexpected token 'export'
    at internalCompileFunction (node:internal/vm:77:18)
    at wrapSafe (node:internal/modules/cjs/loader:1288:20)
    at Module._compile (node:internal/modules/cjs/loader:1340:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)

seems to be due to d4e0f46

y-websocket@2.0.0 works :

PORT=1234 npx y-websocket@2.0.0
Need to install the following packages:
y-websocket@2.0.0
Ok to proceed? (y) y
running at 'localhost' on port 1234

Huly®: YJS-572

@scenaristeur scenaristeur added the bug Something isn't working label Mar 25, 2024
@dmonad dmonad closed this as completed in 75ffc7f Mar 26, 2024
@dmonad
Copy link
Member

dmonad commented Mar 27, 2024

Thanks for the info! I fixed it in the last release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants