SOLVED! 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!