Hermes Debugger - not discoverable
See original GitHub issue🐛 Bug Report
When I try to connect my fresh RN app 0.62
with latest Flipper 0.36
, it will fail to discover my hermes on android emulator. Is there any extra setup needed?
I noticed that metro will start throwing this error every few seconds (I guess that’s flipper hermes plugin pooling to discover)
Error: Unauthorized request from http://localhost:3000. This may happen because of a conflicting browser extension. Please try to disable it and try again.
at getSecurityHeadersMiddleware (/Users/anonymous/Git/RN062/node_modules/@react-native-community/cli/build/commands/server/middleware/getSecurityHeadersMiddleware.js:19:10)
at call (/Users/anonymous/Git/RN062/node_modules/connect/index.js:239:7)
at next (/Users/anonymous/Git/RN062/node_modules/connect/index.js:183:5)
at Function.handle (/Users/anonymous/Git/RN062/node_modules/connect/index.js:186:3)
at handle (/Users/anonymous /Git/RN062/node_modules/connect/index.js:91:14)
at call (/Users/anonymous/Git/RN062/node_modules/connect/index.js:239:7)
at next (/Users/anonymous/Git/RN062/node_modules/connect/index.js:183:5)
at Function.handle (/Users/anonymous/Git/RN062/node_modules/connect/index.js:186:3)
at Server.app (/Users/anonymous/Git/RN062/node_modules/connect/index.js:51:37)
at Server.emit (events.js:210:5)
I can see that Chrome itself is able to find hermes for debugging via /json
request
To Reproduce
- Install fresh React Native app
- Enable Hermes and install to Android emulator
- Open flipper and try the Hermes debug plugin
Environment
Flipper: 0.36.0
React Native: 0.62
One screenshot to describe the situation 😄
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Flipper Hermes debugger does not show - Stack Overflow
error message: Metro is connected but no Hermes apps were found. Open a React Native screen with Hermes enabled to connect. Note: you...
Read more >Hermes on Windows + macOS · React Native for Windows + ...
React Native for Windows with Hermes engine supports direct JavaScript runtime inspection using tools such as Chrome or Edge devtools , VSCode debugger, ......
Read more >React-native + Hermes: debugger can't connect when debug ...
React-native + Hermes: debugger can't connect when debug Android. Set up a project. Run start and android commands from the terminal. Open debugger...
Read more >VSCode Extension for React Native - Supports Debugging ...
Hermes is the new JavaScript engine optimized for running React Native apps on Android. It improves app performance and decreases app size. Click...
Read more >Configuration · MobX
"never" : Proxies are not used and MobX falls back on non-proxy alternatives. ... While some problems are discoverable statically, others are detectable ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Could you check the locally installed version of
@react-native-community/cli
? It should be 4.5.1 at least (see this PR).@Grohden For iOS, this is not the correct plugin to use. Hermes is currently only supported on Android. The
Debug
option is for “remote debugging” and is not currently supported within Flipper.