I had "module": "ES6" in tsconfig.json. Changed to "module": "commonjs", and now can find the colyseus.js module.
Colyseus is great but configuration files are a nightmare!
Posts made by abelp
Problem with colyseus.js and webpack
I'm new with node.js and Colyseus and I'm a little bit confused with configuration files, npm packages, etc.
My client side programs are in a subfolder of the main project folder. Have I to configure webpack or tsconfig in any special way? Do I need a package.json in my client subfolder? Or the problem is in other side I cannot see...
Thanks in advance.