kevinshen56714 / SkyOffice

Immersive virtual office built with Phaser, React, Redux, PeerJS, and Colyseus.
https://sky-office.co/
MIT License
930 stars 289 forks source link

Error with npm start #38

Closed supafoundation closed 1 year ago

supafoundation commented 2 years ago

index.js:1 Error: Class constructor Room cannot be invoked without 'new' at new MatchMakeError (Client.ts:12:1) at Client. (Client.ts:105:1) at step (tslib.es6.js:102:1) at Object.next (tslib.es6.js:83:1) at fulfilled (tslib.es6.js:73:1) Unable to connect to room when using npm start. npm run build works fine

kevinshen56714 commented 2 years ago

Did you run npm install prior to npm run start?

kevinshen56714 commented 1 year ago

Closing this as we have just done client side refactor. We are now using Vite as the build tool. Run yarn && yarn dev to start the client.