flipper icon indicating copy to clipboard operation
flipper copied to clipboard

Plugin Hermes Debugger (RN) is unavailable

Open Mellbourn opened this issue 1 year ago • 27 comments

🐛 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

Mellbourn avatar Dec 04 '23 14:12 Mellbourn

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

Sainadh1205 avatar Dec 05 '23 08:12 Sainadh1205

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

adrian-bobev avatar Dec 05 '23 10:12 adrian-bobev

🐛 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?

mansoorameen avatar Dec 05 '23 18:12 mansoorameen

🐛 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

Sainadh1205 avatar Dec 06 '23 07:12 Sainadh1205

The same

XantreDev avatar Dec 06 '23 13:12 XantreDev

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

dattran1232003 avatar Dec 12 '23 01:12 dattran1232003

same issue

codewitharun avatar Dec 12 '23 06:12 codewitharun

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

Makar8000 avatar Dec 14 '23 19:12 Makar8000

Are there any updates on this issue?

TheSolly avatar Jan 03 '24 15:01 TheSolly

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?

steventnorris avatar Jan 12 '24 02:01 steventnorris

same problem

dontuse avatar Jan 16 '24 09:01 dontuse

Same here Screenshot 2024-01-18 at 3 23 51 PM

janandaraj avatar Jan 18 '24 09:01 janandaraj

21/01/2024 I have the same problem

image

image

Cheizr avatar Jan 21 '24 07:01 Cheizr

same question.

  • flipper: 0.239.0

Hao-yiwen avatar Jan 22 '24 03:01 Hao-yiwen

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

For now i did this as temporary

janandaraj avatar Jan 22 '24 04:01 janandaraj

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

darimuhittin avatar Jan 24 '24 12:01 darimuhittin

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.

sarthakpranesh avatar Jan 25 '24 05:01 sarthakpranesh

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

arb avatar Jan 29 '24 15:01 arb

any updates on this?

progtarek avatar Feb 26 '24 18:02 progtarek

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

kaushikwavhal avatar Mar 01 '24 15:03 kaushikwavhal

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

devv-aman avatar Mar 04 '24 11:03 devv-aman

can somebody tell me how to rollback to older flipper version

johnbaishya avatar Mar 12 '24 09:03 johnbaishya

@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.

sarthakpranesh avatar Mar 12 '24 11:03 sarthakpranesh

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.

Hao-yiwen avatar Apr 04 '24 10:04 Hao-yiwen

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

quocbaovu15101996 avatar May 09 '24 02:05 quocbaovu15101996

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",

glade-at-gigwell avatar May 17 '24 00:05 glade-at-gigwell

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

oleksiizhuk avatar Jul 25 '24 08:07 oleksiizhuk