socket.io-client icon indicating copy to clipboard operation
socket.io-client copied to clipboard

2.3.0 with mobile error

Open lichenabson opened this issue 7 years ago • 3 comments

you will get a error 'SyntaxError: Unexpected identifier 'index' with socket.io-client 2.3.0 in mobile image then i success with socket.io-client 2.2.0

lichenabson avatar Nov 15 '19 02:11 lichenabson

env: ios 9. 3/ipnone6s/safari

lichenabson avatar Nov 15 '19 02:11 lichenabson

#1328 It is exactly the same issue as here that exists on old versions of safari as well. The only current solution is to downgrade to 2.2.0

christosv94 avatar Nov 26 '19 15:11 christosv94

The debug dependency was reverted to 3.1.0, which does not need to be transpiled. Released in 2.3.1.

Please note that you can also use the webpack-remove-debug plugin, in order to remove any call to the debug dependency.

darrachequesne avatar Sep 30 '20 21:09 darrachequesne