kimobrian / TwilioReact

A React Video Chat app using Twilio Video
MIT License
56 stars 31 forks source link

Npm start shows cannot get / #2

Closed Shibu-N closed 5 years ago

Shibu-N commented 6 years ago

I tried working on the code using the procedure from the https://www.twilio.com/blog/2018/03/video-chat-react.html . After cloning the code from the respository, I made an npm install and then when went for the npm start. It display as follows: image

Am I missing something here?

arseniummm commented 6 years ago

Faced the same issue, it was a problem with react-tap-event-plugin (no longer supported after React 16.4.0 - link. Delete it from package.json and app.js

bubujone35 commented 5 years ago

I also face the same issue. I deleted react-tap-event-plugin from package.json and app.js. Any insights?

Pratyush2703 commented 5 years ago

In the .env file, change DEV to PROD also should work

Pratyush2703 commented 5 years ago

Here is a full list of things you need to do in case of this issue:

If .env file says "DEV":

npm install -save react@^16.3.0 npm install -save react-dom@^16.3.0

if .env says "PROD": to run the script,

npm build && node server

Hopefully my 3 hours of headache can prevent any more of yours 👍

Pratyush2703 commented 5 years ago

I suggest this issue be closed and another opened to deal with the deprecation of react-tap-event-plugin

kimobrian commented 5 years ago

@Pratyush2703 Thanks for always jumping in to help with these issues.

Pratyush2703 commented 5 years ago

Happy to help 👍

AmanSonii commented 4 years ago

Here is a full list of things you need to do in case of this issue:

If .env file says "DEV":

npm install -save react@^16.3.0 npm install -save react-dom@^16.3.0

if .env says "PROD": to run the script,

npm build && node server

Hopefully my 3 hours of headache can prevent any more of yours 👍

It didn't help me. Please suggest something

Pratyush2703 commented 4 years ago

@AmanSonii Please Elaborate

AmanSonii commented 4 years ago

@AmanSonii Please Elaborate

I have cloned the project successfully but after running the NPM start I got the Cannot GET / message on the browser and localhost:3000 not found.

Pratyush2703 commented 4 years ago

@AmanSonii Did you change "Dev" to "PROD" in the .env file ?