Problems in Internet Explorer 11 to client version (SOLVED)

9 Mar 2018, 09:04

Problems in Internet Explorer 11 to client version
https://github.com/gamestdio/colyseus.js
SCRIPT5009: 'Promise' is undefined File: colyseus.js, Line: 1970, Column: 9

Can you help me ?
Thanks

9 Mar 2018, 12:33

Hi @rscata,

You can use a Promise polyfill for IE11: https://github.com/taylorhakes/promise-polyfill

import 'promise-polyfill/src/polyfill';

Cheers!

9 Mar 2018, 13:15

thank you

9 Mar 2018, 13:24

@rscata I just noticed Promise shouldn't be necessary at all. It's just there because of React Native compatibility.

I've just released a new version of the client that fixes this issue: colyseus.js@~0.8.3

Cheers