Flipper: Flipper won't open, shows blank screen

Created on 4 May 2020  路  3Comments  路  Source: facebook/flipper

馃悰 Bug Report

I have been working on using Flipper for React Native development. Everything has been working fine, however now Flipper will not open and shows a blank screen.

Here is the blank screen that I see.
Screen Shot 2020-05-04 at 11 34 37 AM

I have uninstalled, multiple times. Also have tested with multiple Flipper versions, however I am not able to solve this. I have also followed the steps on Flipper won't launch on Mac, and have had no luck.

Every time I open app I get before getting the empty screen Flipper Helper (Renderer).app
Screen Shot 2020-05-04 at 11 41 14 AM

Also here are the logs when I Toggle Developer Tools.
Screen Shot 2020-05-04 at 11 43 23 AM

To Reproduce

The last thing I remember doing on Flipper was changing the shortcuts for the reload functionality, and while testing the shortcut the app crashed. Since then I have not been able to open it again even after multiple fresh installs.

Environment

macOS Catalina - 10.15.4
Flipper 0.40 -> however reverting back to 0.37 -> 0.39 does not resolve the issue.

Stale

Most helpful comment

Thanks for the report @leoafarias ,

Remarkably, it looks like there may be a bug in electron related to global hotkeys: https://github.com/electron/electron/issues/16206

Could you paste the contents of ~/.config/flipper/settings.json here so we can see (if it is the shortcuts that did this) what shortcuts are set that causes this problem?

Thanks.

If you manually edit that file, and remove the reactNative section, you'll likely be up and running again, failing that you could try getting rid of the file entirely.

All 3 comments

Thanks for the report @leoafarias ,

Remarkably, it looks like there may be a bug in electron related to global hotkeys: https://github.com/electron/electron/issues/16206

Could you paste the contents of ~/.config/flipper/settings.json here so we can see (if it is the shortcuts that did this) what shortcuts are set that causes this problem?

Thanks.

If you manually edit that file, and remove the reactNative section, you'll likely be up and running again, failing that you could try getting rid of the file entirely.

@jknoxville it worked, thanks for the response. Here is the config for reference, before removing anything.

```{
"androidHome": "/opt/android_sdk",
"enableAndroid": true,
"enableIOS": true,
"enablePrefetching": 2,
"jsApps": {
"webAppLauncher": {
"url": "http://localhost:8888",
"height": 600,
"width": 800
}
},
"reactNative": {
"shortcuts": {
"enabled": true,
"reload": "Alt+Shift",
"openDevMenu": "Alt+Shift+D"
}
},
"_persist": {
"version": -1,
"rehydrated": true
}
}

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings