i am using Twilio with react and when i create the client using this code
this.chatClient = new Chat(this.state.token);
but i keep geting this error
TransportUnavailableError: Can't connect to twilsock
at Upstream.send (http://localhost:3000/static/js/1.chunk.js:96516:31)
at TwilsockClient.post (http://localhost:3000/static/js/1.chunk.js:94626:28)
at http://localhost:3000/static/js/1.chunk.js:88943:33
at Retrier.<anonymous> (http://localhost:3000/static/js/1.chunk.js:88882:11)
at Retrier.push../node_modules/events/events.js.EventEmitter.emit (http://localhost:3000/static/js/1.chunk.js:25082:17)
Thanks in advance