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

ReactDOM is not attaching QueryRenderer to '#root' div #73

Open
jcuffe opened this issue Apr 6, 2018 · 5 comments
Open

ReactDOM is not attaching QueryRenderer to '#root' div #73

jcuffe opened this issue Apr 6, 2018 · 5 comments

Comments

@jcuffe
Copy link

jcuffe commented Apr 6, 2018

EDIT: This has been reproduced in Windows by @kiadorii, another friend of ours has confirmed that the repo works properly on Debian.

I hope it's just something minor that I've overlooked, but here is my experience so far:

  1. Clone repo, cd todo to enter this project's root folder
  2. Run npm install; npm run update-schema; npm run build; npm start
  3. Navigate browser to localhost:3000/
  4. See nothing but the contents of public/index.html

I'm trying to follow the path of execution from babel-node ./server.js, and I can't quite understand how the code in js/app.js is reached. Any help would be greatly appreciated, I'm having a very hard time understanding this technology!

Further notes:

  • The app.js that is generated by webpack is being correctly included in the markup of the final result. This makes me think that the problem is not with webpack, but somewhere in js/app.js.
  • console.log() statements in app.js do not produce output in the developer console when page is loaded. This makes it seem like the code in app.js is not being executed, despite being included on the page in a script tag.

I'm doing my best to figure this out on my own, but it's all very opaque to me at the moment. Tips for troubleshooting this are just as welcome as the answer to my problem!

@kiachoi
Copy link

kiachoi commented Apr 6, 2018

I have the same issue as well!

@moolo
Copy link

moolo commented Apr 8, 2018

me too

@jstejada
Copy link
Contributor

jstejada commented Apr 9, 2018

thanks for reporting this, I'll try to take a look soon!

@JohnieXu
Copy link

me too

@JohnieXu
Copy link

how to build in production?

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

5 participants