Closed amilich closed 4 years ago
Actually, the above was the output when running this old server.
When running PORT=1234 npx y-websockets-server
, the output is:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/y-websocket-server - Not found
npm ERR! 404
npm ERR! 404 'y-websocket-server@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
Hi @amilich ,
The server is now part of y-websocket. You should be able to run npx y-websocket-server
after installing y-websocket
. You should try to remove y-websockets-server from your system. Apparently it is still somehow referenced.
Hi! Sorry if this isn't the right place to ask... I'm trying to run the
y-websockets-server
locally and can't seem to get the client to work. I cloned this repo as well as the demo repo, and I runPORT=1234 npx y-websockets-server
, which results in an output of:In my client demo, I create a connection with:
I don't see a connection occur. Any ideas why?
Huly®: YJS-482