-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Got an "error launching browser". Chrome already installed. #7372
Comments
sprint 37 experimental build 0.37.0-0 Linux 3.10.33-2-MANJARO #1 SMP Tue Mar 18 20:18:14 UTC 2014 i686 GNU/Linux |
@andruska Can you go to Debug > Show Developer Tools and look in the Console log for additional error messages? There should be a more detailed error logged there. |
Menu item Debug > Show Developer Tools doesnt give any feedback, console doesnt appear. Also when pressing F12. When keeping Chrome open (before starting Brackets) and Reloading Without Extension gives no effect (for Live Preview). |
@andruska I'm not sure what you mean by "console doesn't appear" -- does the dev tools UI not open in a new Chrome tab when you select that menu item? Or the tab opens but it's blank? If it's the latter, do you have any security/firewall software installed on your machine? It may be blocking all socket connections on the Brackets process, which would break both Live Preview and the dev tools -- see #6282. Can you try disabling your security software temporarily to test if that's the cause of the problem? |
@peterflynn There is no any effects or changes on screen at all when choosing Debug > Show Developer Tools or pressing F12. Even if Chrome and Brackets are both open and FW disabled. No any tools UI or new tab in Chrome. |
@andruska Interesting, sounds like Brackets is simply unable to find & launch Chrome at all. What is the command line you would use to launch Chrome from a terminal on your machine? Does just typing |
@peterflynn Now problems with Live preview and Show Developer Tools seem to be solved. Problems caused by |
Glad to hear it! Closing since problem is solved. If you can, could you post a little more detail about what you changed to get it working? Might be useful for others who run into the same problem. |
I am also having the same can u please help me in this @andruska |
Probably you need to change Chrome executable symlink in |
Thank you so much for this thread! I ran into the very same problem. On my Arch Linux box I did a fresh install of the package brackets-bin, then installed the package google-chrome (both from the AUR). When trying to start Live Preview all I got was that dialog box saying "An error occurred when launching the browser (error unknown) ..." This is the already existing symlink I found in the bin directory: I can confirm that adding a second symlink |
This seems to be an Arch thing. Just for clarification:
Note: you will probably need to run as root This adds the proper symlink. Confirmed working Linux 3.17.4-1 MANJARO |
Thanks....this forum solved my issue.... |
Steezeburger, yo da man!!! Thanks! |
@steezeburger Thanks!!! It's work! |
@GreenRobot777 , I have met the same problem,but cant understand how to find the bin directory; can you tell me how to solve this problem in detail? |
@DanranWf I used complete paths in my snippet so it should work. |
Hi, |
@bhill010 In general, only stable Chrome is supported for Live Preview. FYI, canary and stable versions are changing all the time, so you might want to try the latest stable version. If you still can't run stable Chrome, try turning on File > Enable Experimental Live Preview which works with any browser. I opens in your default browser and you can paste the url into any other browser. |
Excellent, tested with Manjaro 4, Chrome 54 and Brackets 1.8, you must only create a symbolic link: sudo ln -s / bin / google-chrome-stable / bin / google-chrome |
Can also confirm that the "sudo ln -s ..." command to create the symlink in /bin works under the latest Solus (2017.01.01.0). Thanks everyone! |
Was glad to find this as it helped correct my issues. One thing to note though, it's not traditional to create symlinks in /bin for non-system software. |
"Error launching browser
An error occurred when launching the browser. (error Unknown) Form more information, see Toubleshooting Live Preview connection errors."
This error occurs after fresh install with first sample page. Chrome is already installed (but after i installed Brackets).
How can I start resolving this ?
The text was updated successfully, but these errors were encountered: