socket.io-client
socket.io-client copied to clipboard
2.3.0 with mobile error
you will get a error 'SyntaxError: Unexpected identifier 'index' with socket.io-client 2.3.0 in mobile
then i success with socket.io-client 2.2.0
env: ios 9. 3/ipnone6s/safari
#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
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.