facebook / flipper

A desktop debugging platform for mobile developers.
https://fbflipper.com/
MIT License
13.31k stars 954 forks source link

Plugin Hermes Debugger (RN) is unavailable #5334

Open Mellbourn opened 9 months ago

Mellbourn commented 9 months ago

🐛 Bug Report

The debugger in Flipper has stopped working for us after upgrading Flipper to v0.238.0. The Hermes Debugger (RN) plugin is now under Unavailable plugins whereas it used to be under React Native out of the box.

It says Device plugin 'Hermes Debugger (RN)' is not supported by the selected device

image

The behavior is the same for both iPhone and Android simulators.

If I downgrade Flipper to v0.237.0 the Hermes debugger starts working again immediately.

To Reproduce

  1. Start your native app
  2. Start Flipper
  3. Look for Hermes Debugger plugin

Environment

Sainadh1205 commented 9 months ago

Screenshot 2023-12-05 142319 I faced similar issue while working on android emulator before updating flipper it is working fine

adrian-bobev commented 9 months ago

Same for me with Flipper Version 0.239.0 (50.0.0) iPhone 13 Pro Max with iOS 17.1.2 Hermes for RN 0.72.7

mansoorameen commented 9 months ago

🐛 Bug Report

The debugger in Flipper has stopped working for us after upgrading Flipper to v0.238.0. The Hermes Debugger (RN) plugin is now under Unavailable plugins whereas it used to be under React Native out of the box.

It says Device plugin 'Hermes Debugger (RN)' is not supported by the selected device

image

The behavior is the same for both iPhone and Android simulators.

If I downgrade Flipper to v0.237.0 the Hermes debugger starts working again immediately.

To Reproduce

  1. Start your native app
  2. Start Flipper
  3. Look for Hermes Debugger plugin

Environment

  • iPhone 14 Pro Max simulator, iOS 17.0.1
  • Android Pixel 3a API 32 emulator, Android version 12
  • emulators run on macOS 14.1.2

Same issue on 0.239.0. Any link to download flipper 0.237.0 for mac?

Sainadh1205 commented 9 months ago

🐛 Bug Report

The debugger in Flipper has stopped working for us after upgrading Flipper to v0.238.0. The Hermes Debugger (RN) plugin is now under Unavailable plugins whereas it used to be under React Native out of the box. It says Device plugin 'Hermes Debugger (RN)' is not supported by the selected device image The behavior is the same for both iPhone and Android simulators. If I downgrade Flipper to v0.237.0 the Hermes debugger starts working again immediately.

To Reproduce

  1. Start your native app
  2. Start Flipper
  3. Look for Hermes Debugger plugin

Environment

  • iPhone 14 Pro Max simulator, iOS 17.0.1
  • Android Pixel 3a API 32 emulator, Android version 12
  • emulators run on macOS 14.1.2

Same issue on 0.239.0. Any link to download flipper 0.237.0 for mac? https://github.com/facebook/flipper/releases/tag/v0.237.0

XantreDev commented 9 months ago

The same

dattran1232003 commented 9 months ago

For me, the Hermes debugger is only available when I press Cmd + D on the Virtual device and choose Open Debugger, but it switches to a device called React Native with no application selected, and that device not support other plugins such as Network, Advanced Async Storage, Redux Debugger,... This is weird. image image

codewitharun commented 9 months ago

same issue

Makar8000 commented 9 months ago

This is still happening in v0.241.0. Reverting to v0.237.0 works in the meantime.

TheSolly commented 8 months ago

Are there any updates on this issue?

steventnorris commented 8 months ago

Using an android emulator API 33 with RE:Pack and react native (webpack server), I'm seeing the same thing. No Hermes debugger available. This was both on 0.237.0 and latest. Anyone find a way to get that working?

dontuse commented 8 months ago

same problem

janandaraj commented 8 months ago

Same here

Screenshot 2024-01-18 at 3 23 51 PM
Cheizr commented 7 months ago

21/01/2024 I have the same problem

image

image

Hao-yiwen commented 7 months ago

same question.

janandaraj commented 7 months ago

This is still happening in v0.241.0. Reverting to v0.237.0 works in the meantime.

For now i did this as temporary

darimuhittin commented 7 months ago

Experiencing the same issue. I hope this will be solved. Tried 0.237, 0.239, 0.245 versions but problem exists. :(

sarthakpranesh commented 7 months ago

This might have something todo with - https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0641-decoupling-flipper-from-react-native-core.md

Though I am not completly sure.

arb commented 7 months ago

I was having the same problem and rolling back to v0.237.0 worked for me as a temporary solution.

progtarek commented 6 months ago

any updates on this?

kaushikwavhal commented 6 months ago

Would love some workaround in the meantime while this is fixed .

devv-aman commented 6 months ago

I had upgraded flipper to v0.239.0, and got the same issue, i even tried v0.238.0 but still Hermes Debugger was disabled then i moved back to v0.231.0 and Hermes Debugger (RN) got enabled back, there is some issue around latest releases which is causing the issue

johnbaishya commented 6 months ago

can somebody tell me how to rollback to older flipper version

sarthakpranesh commented 6 months ago

@johnbaishya You can download platform specific Flipper file from here - https://github.com/facebook/flipper/releases/tag/v0.237.0 I can confirm the Hermes Debugger (RN) works on v0.237.0 but doesn't work on anything after that.

Hao-yiwen commented 5 months ago

I found RN0.73.6 complete resolve debugger question.But I use chrome inspect. If you have the same question with me,I think you should try 0.73.6.

quocbaovu15101996 commented 4 months ago

You can check at https://reactnative.dev/docs/debugging. They said: "The React Native team is working on a new JavaScript debugger experience, intended to replace Flipper, with a preview available as of React Native 0.73." So, I think you should change debug by flipper to using Google Chrome

glade-at-gigwell commented 4 months ago

The latest version of flipper can connect, after jumping through some hoops (like possibly running it with METRO_SERVER_PORT env var if you aren't running on 8081), but the Hermes Debugger (RN) will tell you that it's not compatible and you need to install Electron Flipper 0.239.0. It provides the link to download that version. Keep in mind they have changed how you integrate flipper in recent 0.73+ RN versions with several packages being required-- these were the versions that worked for me today. (Expo SDK50) We are indeed in a lurch waiting for the newer debugger (on RN 0.74.1+) but it's still not clear if that's going to be fully featured.

    "react-native-flipper": "^0.212.0",

    "expo-build-properties": "~0.11.1",

    "@react-native-community/cli": "^13.6.6",
oleksiizhuk commented 1 month ago

I've downloaded the Flipper version 0.182 - it fixes my problem