Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mastersoftwaremedia opened this issue Oct 22, 2016 · 10 comments

Comments

@mastersoftwaremedia
Copy link

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?

@mtndew1
Copy link

mtndew1 commented Nov 9, 2016

same here

@njneer
Copy link

njneer commented Nov 30, 2016

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

@mastersoftwaremedia
Copy link
Author

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.

@freimuth82
Copy link

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

@ofostier
Copy link

Hi,

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

@francescoderosa
Copy link

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

@auser
Copy link
Contributor

auser commented Jun 2, 2017

Is this closed?

@mastersoftwaremedia
Copy link
Author

mastersoftwaremedia commented Jun 3, 2017 via email

@suitcasemedia
Copy link

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
Copy link

the solution for me was here:
#19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants