Yjs running Error in my Laravel

After install yjs, when I run this ‘node ./node_modules/y-websocket/bin/server.cjs’, get error 'node:internal/modules/cjs/loader:1228
throw err;
^

Error: Cannot find module ‘D:\workspace\vue_apps\miro-clone\node_modules\y-websocket\bin\server.cjs’
at Function._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Function._load (node:internal/modules/cjs/loader:1055:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
at node:internal/main/run_main_module:36:49 {
code: ‘MODULE_NOT_FOUND’,
requireStack:
}

Node.js v22.14.0’

Read the y-websocket release notes. The server implementation moved.

1 Like

It worked! Thank you very much.

1 Like