Hello, I am pretty new to This framework. I started my own project and made a server file and installed colyseus through npm. My problem is that when i try to connect through the browser, it logs and error in the console "GET localhost:3000/colyseus.js 404 (not found)" I dont know how to fix This any help is appriciated!
Client cant get colyseus.js
Hi @alexander-nortung, is it on colyseus-examples project? Make sure to run npm run bundle-colyseus-client
to generate the colyseus.js
file.
On a real scenario, it's recommended to import the client using webpack instead.
Cheers!