react-yelp-clone icon indicating copy to clipboard operation
react-yelp-clone copied to clipboard

The browser shows nothing after configuring .env file with Google API Key

Open mastersoftwaremedia opened this issue 8 years ago • 10 comments

Hi Auser! Thanks for posting this tutorial. The only thing is that I am not getting the result that I suppose to get. I clone from repo and followed exactly the way it is stated. I am very new to React and NEM, so please bare with me. I think I am doing wrong with "Configuring the Application" part. Here's what I am having.

Got API and after executing this command-> cp .env.example .env

Inside .env file env

Server is running and working fine npmstart

The browser shows nothing localhost

What am I doing wrong?

mastersoftwaremedia avatar Oct 22 '16 03:10 mastersoftwaremedia

same here

mtndew1 avatar Nov 09 '16 05:11 mtndew1

You need to kill and re-run your process for the .env values to be loaded.

njneer avatar Nov 30 '16 21:11 njneer

Thanks for helping me out. Hmm.. how do I do that? Do you mean that I should ctrl+c to kill the server and npm run again to run the .env to be loaded? Can you please explain it again? Thank you in advance! I really appreciate it.

mastersoftwaremedia avatar Dec 02 '16 05:12 mastersoftwaremedia

@mastersoftwaremedia that is exactly what you should do then, after this, the .env file shall be correctly included. This worked for me.

freimuth82 avatar Jan 20 '17 15:01 freimuth82

Hi,

Not working for me ! The page stay white and show nothing.

ofostier avatar Feb 14 '17 22:02 ofostier

Try to use yarn instead of npm. Use command yarn to get dependencies and yarn start to start project. It works for me!

francescoderosa avatar Mar 04 '17 13:03 francescoderosa

Is this closed?

auser avatar Jun 02 '17 16:06 auser

Hi Ari,

No, not at all.

On Fri, Jun 2, 2017 at 12:42 PM, Ari [email protected] wrote:

Is this closed?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fullstackreact/react-yelp-clone/issues/16#issuecomment-305844633, or mute the thread https://github.com/notifications/unsubscribe-auth/AS_lT_sIPYn3rGn6DOF4H1-yyHeMYzeGks5sADtigaJpZM4KdvWu .

mastersoftwaremedia avatar Jun 03 '17 11:06 mastersoftwaremedia

the same happened to me after cloning the entire project and configuring .env and api key: Except i have this error: Uncaught Error: You have provided a history object created with history v3.x. This version of React Router is not compatible with v3 history objects. Please use history v2.x instead. screenshot from 2017-07-29 12-53-21

suitcasemedia avatar Jul 29 '17 11:07 suitcasemedia

the solution for me was here: https://github.com/fullstackreact/react-yelp-clone/issues/19

suitcasemedia avatar Jul 29 '17 11:07 suitcasemedia