Closed scenaristeur closed 5 months ago
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 https://github.com/yjs/y-websocket/commit/d4e0f46cbe6b30115edd89739cdfada51455689b
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
Thanks for the info! I fixed it in the last release.
it was working some hours ago, but it seems that the new version y-websocket@2.0.1 does not work
seems to be due to https://github.com/yjs/y-websocket/commit/d4e0f46cbe6b30115edd89739cdfada51455689b
y-websocket@2.0.0 works :
Huly®: YJS-572