react-yelp-clone
react-yelp-clone copied to clipboard
The browser shows nothing after configuring .env file with Google API Key
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
Server is running and working fine
The browser shows nothing
What am I doing wrong?
same here
You need to kill and re-run your process for the .env values to be loaded.
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 that is exactly what you should do then, after this, the .env file shall be correctly included. This worked for me.
Hi,
Not working for me ! The page stay white and show nothing.
Try to use yarn instead of npm.
Use command yarn
to get dependencies and yarn start
to start project.
It works for me!
Is this closed?
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 .
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.
the solution for me was here: https://github.com/fullstackreact/react-yelp-clone/issues/19