Hacker News new | ask | show | jobs
by arm55 3937 days ago
Since the upgrade, I'm just getting "Connecting to react...If this is React Native, you need to interact with the app (just tap the screen) in order to establish the bridge." when I try to load the dev tools.

EDIT: Apparently the tools don't work for local dev. Just hosted the files behind a python simple httpserver.

4 comments

Any chance you can file an issue with a link to your site so I can look into it?
It's all local, sorry.
That actually may be part of the issue... I just spun up a server behind mine and it works now.
Yup.

  python -m http.server 8000
did the trick.
In chrome://extensions there is an option that lets you give chrome extension to content served from the file:// protocol - maybe that's what you need?
Thanks for the report. spicyj created an issue to track this: https://github.com/facebook/react-devtools/issues/172
Python simplehttpserver's default address is/was 0.0.0.0. You may want to check if you don't want to accidentally serve the whole world.
Same here, trying to isolate the issue in my project, since it seems to work fine on fb.com