twilio / twilio-video-app-react

A collaboration application built with the twilio-video.js SDK and React.js
Apache License 2.0
1.81k stars 728 forks source link

Token error npm start #606

Closed m1kjh43l2020 closed 3 years ago

m1kjh43l2020 commented 3 years ago

Question Hi, im recently update the app, after build i run npm start and sends me error token if i use 3000 port, then use port 8081, but sends me "[dev] Proxy error: Could not proxy request /token?identity=repre+-Presentador&roomName=23 from localhost:3000 to http://localhost:8081/." Any ideas?

CodeLPham commented 3 years ago

I had the same problem recently as well not sure if this will fix it but try changing the proxy value in your package.json file to: "proxy":"http://127.0.0.1:8081"

olipyskoty commented 3 years ago

Hi @m1kjh43l2020 thanks for reaching out!

I just cloned this repo and made a fresh app (added my .env variables and ran npm install) following the steps you listed in your issue (ran npm build, and npm start). Unfortunately, I was unable to reproduce what you are experiencing.

Do you mind giving us a little bit more information about your current set up to help us diagnose the issue?

To Reproduce:

Any applicable screenshots:

Environment (please complete the following information):

Providing this information will help us understand more about your current environment and will assist with getting to the bottom of this 🙂. Thank you!

olipyskoty commented 3 years ago

Hi @m1kjh43l2020 I will be closing this due to inactivity. Please let us know if you are still having trouble and we will reopen this issue. Thank you!