Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flipper won't launch on Mac #4585

Closed
joe-goodall-ticketmaster opened this issue Mar 7, 2023 · 21 comments
Closed

Flipper won't launch on Mac #4585

joe-goodall-ticketmaster opened this issue Mar 7, 2023 · 21 comments

Comments

@joe-goodall-ticketmaster
Copy link

joe-goodall-ticketmaster commented Mar 7, 2023

🐛 Bug Report

Cannot open the Flipper app on Mac

To Reproduce

Try and open the Flipper app

Environment

Have tried Flipper Desktop version 0.183.0 and other versions as well.

MacBook Pro (16-inch, 2021)

Flipper.Screen.Recording.2023-03-07.at.19.46.30.mov

Tried everything here https://fbflipper.com/docs/getting-started/troubleshooting/general/#flipper-wont-launch-on-mac

Any other suggestions?

@joe-goodall-ticketmaster
Copy link
Author

OK, eventually opened (despite seeing 'Application Not Responding' as seen in the video above) by just leaving the icon bouncing in the dock. Took about 2 minutes before it eventually opened. I guess that solves the problem but not sure why it took so long to open. Will close issue but leave comment in case anyone else has the same problem.

@silviodaminato
Copy link

Hello, I have the same issue, but in my case the icon eventually stops bouncing and nothing happens.
I have tried with versions 0.193.0, 0.192.0 and 0.191.0 getting the same result.

I am on a MacBook Pro (M1 mid 2020).

Any help is very appreciated!
Thanks!

@samueljim
Copy link

bump
2023-07-10 at 18 38 15 - Brown Butterfly

@silviodaminato
Copy link

I noticed that I had many ssh-agent processes running on my mac, by killing them Flipper works like a charm.
After some days I was getting desperate and I tried everything came to my mind.
The multiple ssh-agents were created by eval "$(ssh-agent -s)" being put into my .bash_profile file so when starting the terminal with multiple tabs, each one created a process.
Hope it helps you!

@schaetz
Copy link

schaetz commented Mar 28, 2024

I have the same issue. After double-clicking the "Flipper" icon from the downloaded .dmg, the flipper icon in my app bar will bounce for a while, but the Flipper UI is never displayed. All I can do is kill the process from the activity monitor.

I am on a MacBook Pro from 2019 with Intel Core i9 processor.

I searched for ssh-agent in my list of processes, but that does not seem to be the issue for me...

@juspriet
Copy link

Same problem !

  • Flipper v 0.252.0
  • Macbook pro 2019 i9

@andriib-huma
Copy link

andriib-huma commented Apr 15, 2024

Same issue

  • Flipper v 0.252.0
  • MacBook Pro 16, M1 Pro

Things I've tried.

  1. Delete flipper and install via .dmg and brew.
  2. Delete .flipper folder
  3. Run from terminal /Applications/Flipper.app/Contents/MacOS/Flipper

Terminal output:

user@MacBook-Pro-user ~ % brew install --cask flipper
==> Downloading https://formulae.brew.sh/api/cask.jws.json
######################################################################### 100.0%
==> Downloading https://github.com/facebook/flipper/releases/download/v0.252.0/F
Already downloaded: /Users/user/Library/Caches/Homebrew/downloads/20d1e4356487b160e2a47d54eaa53367c1a8e24d54ecb26dfe1f2f1c56a3ab3c--Flipper-server-mac-aarch64.dmg
==> Installing Cask flipper
==> Moving App 'Flipper.app' to '/Applications/Flipper.app'
🍺 flipper was successfully installed!
user@MacBook-Pro-user ~ % /Applications/Flipper.app/Contents/MacOS/Flipper
zsh: killed /Applications/Flipper.app/Contents/MacOS/Flipper
user@MacBook-Pro-user ~ % /Applications/Flipper.app/Contents/MacOS/Flipper
Starting flipper-server ...
[flipper-server] Starting flipper server with pre-bundled UI
2024-04-15T09:25:58.675Z [FileStreamRotator] Logging to: /Applications/Flipper.app/Contents/Resources/server/static/flipper-server-log.out
2024-04-15T09:25:58.676Z [FileStreamRotator] Rotating file: size: 1048576
[flipper-server][bootstrap] Logger initialised (2.4330830574035645 ms)
[flipper-server][bootstrap] Keytar loaded (1.3352919816970825 ms)
[flipper-server] Check for running instances
[flipper-server] No running instance found, error found: FetchError: request to http://localhost:52342/info failed, reason: connect ECONNREFUSED ::1:52342
[flipper-server] Checking if port is in use (TCP)
[flipper-server][bootstrap] Check for running instances completed (4.895457983016968 ms)
[flipper-server] Starting server on http://localhost:52342
[flipper-server][bootstrap] HTTP server started (1.4577919840812683 ms)
Loaded flipper config: {
"sessionId": "unset::28164998-3b81-4730-aa4b-8ad8f6117a2c",
"environmentInfo": {
"processId": 42223,
"isProduction": true,
"releaseChannel": "stable",
"appVersion": "0.252.0",
"os": {
"arch": "arm64",
"platform": "darwin",
"unixname": "user"
},
"versions": {
"node": "16.15.0",
"platform": "23.4.0"
}
},
"env": {
"HOME": "/Users/user"
},
"gatekeepers": {
"": true
},
"paths": {
"appPath": "/Applications/Flipper.app/Contents/Resources/server",
"homePath": "/Users/user",
"execPath": "/Applications/Flipper.app/Contents/MacOS/flipper-runtime",
"staticPath": "/Applications/Flipper.app/Contents/Resources/server/static",
"tempPath": "/var/folders/wz/mgsqs6vx1pb1g_0r2sncs31c0000gn/T",
"desktopPath": "/Users/user/Desktop"
},
"launcherSettings": {
"ignoreLocalPin": false,
"releaseChannel": "default"
},
"processConfig": {
"disabledPlugins": [],
"launcherEnabled": true,
"updaterEnabled": true,
"suppressPluginUpdateNotifications": false
},
"settings": {
"androidHome": "/Users/user/Library/Android/sdk",
"enableAndroid": true,
"enableIOS": false,
"enablePhysicalIOS": true,
"enablePrefetching": 2,
"idbPath": "/usr/local/bin/idb",
"reactNative": {
"shortcuts": {
"enabled": false,
"reload": "Alt+Shift+R",
"openDevMenu": "Alt+Shift+D"
}
},
"darkMode": "light",
"showWelcomeAtStartup": false,
"suppressPluginErrors": false,
"persistDeviceData": false,
"enablePluginMarketplace": true,
"marketplaceURL": "",
"enablePluginMarketplaceAutoUpdate": true,
"server": {
"enabled": false
}
},
"validWebSocketOrigins": [
"localhost:",
"http://localhost:"
],
"type": "external"
}
[flipper-server][bootstrap] FlipperServer created (1.762250006198883 ms)
[flipper-server] Launch UI
Generate client authentication token
No certificates were found, generating new ones
Generating new CA
Creating new server certificate
Checking for certificates validity
[flipper-server] Get authentication token: true
[flipper-server] Open in browser
[flipper-server] Go to: http://localhost:52342/
[flipper-server] Launch UI completed
Checking certificate was issued by current CA
Checking certs can be used for TLS
Current certificates are valid
Generate client authentication token
Checking for certificates validity
Checking certificate was issued by current CA
Checking certs can be used for TLS
Current certificates are valid
[ws] secure server listening at port: 8088
[ws] secure server listening at port: 9088
[ws] insecure server listening at port: 8089
[ws] insecure server listening at port: 9089
[ws] Browser server listening at port: 8333
[flipper-server][bootstrap] Ready for app connections (261.77812498807907 ms)
[flipper-server][bootstrap] Development server attached (0.08287501335144043 ms)
[flipper-server][bootstrap] Listening at port 52342 (0.13387495279312134 ms)
Verify authentication token
Token verification succeeded
user@MacBook-Pro-user ~ % /Applications/Flipper.app/Contents/MacOS/Flipper
Starting flipper-server ...
Verify authentication token
Token verification succeeded
user@MacBook-Pro-user ~ % [flipper-server] Starting flipper server with pre-bundled UI
2024-04-15T09:26:02.339Z [FileStreamRotator] Logging to: /Applications/Flipper.app/Contents/Resources/server/static/flipper-server-log.out
2024-04-15T09:26:02.339Z [FileStreamRotator] Rotating file: size: 1048576
[flipper-server][bootstrap] Logger initialised (2.8021249771118164 ms)
[flipper-server][bootstrap] Keytar loaded (1.3380420207977295 ms)
[flipper-server] Check for running instances
[flipper-server] Running instance found with version: 0.252.0, current version: 0.252.0
[flipper-server] Shutdown running instance
[flipper-server] Received shutdown request, process will terminate
[flipper-server] Shutdown HTTP server
[flipper-server] Shutdown Flipper server
[ws] Stopping server
[ws] Stopping server
[ws] Stopping server
[flipper-server] Shutdown request acknowledge: true
[flipper-server] Shutdown running instance acknowledged: true
[flipper-server][bootstrap] Check for running instances completed (10.528791010379791 ms)
[flipper-server] Starting server on http://localhost:52342
[flipper-server][bootstrap] HTTP server started (2.0722919702529907 ms)
Loaded flipper config: {
"sessionId": "unset::0fd4e870-e843-4543-8157-a9b1ba3dabdf",
"environmentInfo": {
"processId": 42245,
"isProduction": true,
"releaseChannel": "stable",
"appVersion": "0.252.0",
"os": {
"arch": "arm64",
"platform": "darwin",
"unixname": "user"
},
"versions": {
"node": "16.15.0",
"platform": "23.4.0"
}
},
"env": {
"HOME": "/Users/user"
},
"gatekeepers": {
"": true
},
"paths": {
"appPath": "/Applications/Flipper.app/Contents/Resources/server",
"homePath": "/Users/user",
"execPath": "/Applications/Flipper.app/Contents/MacOS/flipper-runtime",
"staticPath": "/Applications/Flipper.app/Contents/Resources/server/static",
"tempPath": "/var/folders/wz/mgsqs6vx1pb1g_0r2sncs31c0000gn/T",
"desktopPath": "/Users/user/Desktop"
},
"launcherSettings": {
"ignoreLocalPin": false,
"releaseChannel": "default"
},
"processConfig": {
"disabledPlugins": [],
"launcherEnabled": true,
"updaterEnabled": true,
"suppressPluginUpdateNotifications": false
},
"settings": {
"androidHome": "/Users/user/Library/Android/sdk",
"enableAndroid": true,
"enableIOS": false,
"enablePhysicalIOS": true,
"enablePrefetching": 2,
"idbPath": "/usr/local/bin/idb",
"reactNative": {
"shortcuts": {
"enabled": false,
"reload": "Alt+Shift+R",
"openDevMenu": "Alt+Shift+D"
}
},
"darkMode": "light",
"showWelcomeAtStartup": false,
"suppressPluginErrors": false,
"persistDeviceData": false,
"enablePluginMarketplace": true,
"marketplaceURL": "",
"enablePluginMarketplaceAutoUpdate": true,
"server": {
"enabled": false
}
},
"validWebSocketOrigins": [
"localhost:",
"http://localhost:"
],
"type": "external"
}
[flipper-server][bootstrap] FlipperServer created (2.1134999990463257 ms)
[flipper-server] Launch UI
Verify authentication token
Token verification succeeded
[flipper-server] Get authentication token: true
[flipper-server] Open in browser
[flipper-server] Go to: http://localhost:52342/
[flipper-server] Launch UI completed
Checking for certificates validity
Checking certificate was issued by current CA
Checking certs can be used for TLS
Current certificates are valid
Generate client authentication token
Checking for certificates validity
Checking certificate was issued by current CA
Checking certs can be used for TLS
Current certificates are valid
[ws] secure server listening at port: 8088
[ws] secure server listening at port: 9088
[ws] insecure server listening at port: 8089
[ws] insecure server listening at port: 9089
[ws] Browser server listening at port: 8333
[flipper-server][bootstrap] Ready for app connections (42.74374997615814 ms)
[flipper-server][bootstrap] Development server attached (0.06516599655151367 ms)
[flipper-server][bootstrap] Listening at port 52342 (0.10608398914337158 ms)

@karel-suchomel-ed
Copy link

Same issue.

  • Flipper v 0.252.0
  • MacBook Air M1

In the console, it throws this error:
Failed to initialize ADB. Please disable Android support in settings, or configure a correct path. Error: spawn /opt/android_sdk ENOENT

However I cannot access settings of flipper, because it will not launch

@stanleyugwu
Copy link

Running brew install --cask flipper then relaunching Flipper after installation fixed it for me

@akshay-mob123
Copy link

Guys anyone able to resolve this issue I have tried everything but not working for me

@ARIPRASATH4664
Copy link

Same for me even tried installing older versions nothing works !!

@ARIPRASATH4664
Copy link

@akshay-mob123 @andriib-huma Use this version https://github.com/facebook/flipper/releases/tag/v0.183.0 It works for me

@akshay-mob123
Copy link

Remove the flipper Downloaded from the fbFlipper.com and install it via brew install --cask flipper and then run it . This worked for me.

@ARIPRASATH4664
Copy link

Remove the flipper Downloaded from the fbFlipper.com and install it via brew install --cask flipper and then run it . This worked for me.

Even this failed for me ! Anyhow we both are good to work for now : )

@Nazofer
Copy link

Nazofer commented May 2, 2024

Same issue.

  • Flipper v 0.252.0
  • MacBook Air M1

In the console, it throws this error: Failed to initialize ADB. Please disable Android support in settings, or configure a correct path. Error: spawn /opt/android_sdk ENOENT

However I cannot access settings of flipper, because it will not launch

Same issue, did you manage to fix that?

@sauravBalodi1
Copy link

@Nazofer @karel-suchomel-ed anything worked for u ?
for me flipper is launching but it is showing no application found

@LucasParra
Copy link

@akshay-mob123 @andriib-huma Use this version https://github.com/facebook/flipper/releases/tag/v0.183.0 It works for me

This worked for me also, thank you so much!

@sarveshhh-m
Copy link

sarveshhh-m commented Jun 6, 2024

@ARIPRASATH4664 Thanks!
Flipper 0.183.0
Installing this version helped for me as well.

@umair-khanzada
Copy link

@akshay-mob123 @andriib-huma Use this version https://github.com/facebook/flipper/releases/tag/v0.183.0 It works for me

Worked for me..
Thanks Man!!

@Yangeok
Copy link

Yangeok commented Sep 22, 2024

Worked for me. Awesome!

@UmarbekSaidov
Copy link

@akshay-mob123 @andriib-huma Use this version https://github.com/facebook/flipper/releases/tag/v0.183.0 It works for me

This worked for me also, thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests