Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Error lauching browser for live preview. #14466

Open
aniketbarik opened this issue Jul 6, 2018 · 9 comments
Open

Error lauching browser for live preview. #14466

aniketbarik opened this issue Jul 6, 2018 · 9 comments

Comments

@aniketbarik
Copy link

OS: Linux Mint 19 Cinnamon 64-bit
Brackets version: 1.13 build 1.13.0-17696 (release 49d29a8)

Whenever I try to lauch Live Preview I get the error:
An error occurred when launching the browser. (error Unknown).

I've tried the solutions involving creating symlinks in /bin and /opt given in #7372.
They seem to work for others but it doesn't work for me.

The Google Chrome version is the stable version and I don't have any extensions installed in Brackets.

I've tried reinstalling Brackets as well as Chrome.

I've also done a clean installation of my OS (for different reasons, of course). But even that didn't work.

I've attached a screenshot for reference.

screenshot from 2018-07-06 16-22-54

@raydpratt
Copy link

I have the same problem with Ubuntu 18.04. I tried making Chrome my default browser instead of FireFox, but that did not lead to Chrome opening when I tried to use Live Preview. While I was using Ubuntu 16.04, I was becoming fond of Brackets while learning to code in JavaScript because I like the Chrome error messages, but after the upgrade, Brackets will not open Chrome. I have tried opening Chrome before opening Brackets, but that does not change the problem. I used to have to save my HTML files in Brackets before hitting live preview, but that no longer does the trick. I hope someone figures this out. I otherwise use BlueFish--which I love--but Brackets had that live preview special sauce. Visual Studio Code is a little too thick for me, but I may have to learn it if it can do better than BlueFish.

@aniketbarik
Copy link
Author

So, I've figured out something. The Live Preview issue only exists for the flatpak version I got from Flathub. I tried the Snap package and the Live Preview works perfectly in it without any issue. But Snap package has a different issue - extension manager doesn't load. Extension manager works in the flathub version.

So, basically: Live Preview doesn't work in Flatpak version and Extension Manager doesn't work in Snap package.

@raydpratt
Copy link

raydpratt commented Jul 26, 2018

All the help documents are at least two years old, and they are rife with past instances of chrome not working for Live Preview, and so I am feeling like Adobe and Google Chrome just don't love each other, and that the issue will keep arising with every version change of either product. I like aniketbarik's report that Live preview is working in the Brackets snap package, and I may not need a working Extension Manager if I still get HTML, CSS, and JavaScript, but for now I have deleted Brackets and will not use Chrome (an information-slurping risk). Maybe later I'll give Brackets another try.

@iHad169
Copy link

iHad169 commented Dec 1, 2018

I have same problem.
I same use Linux Mint 19 Cinnamon 64-bit
I same use snap brackets is worked

@BorisBass
Copy link

I have same problem.
I same use Linux Mint 19 Cinnamon 64-bit
I same use snap brackets is worked

the same hapened here in my note and then i solved by installing the snap brackets version and the live preview now is working. This -> https://snapcraft.io/install/brackets/debian

@petermose
Copy link

The same happened to me:
Live Preview doesn't work in Mint 20.1, Software Managers version but does work in the Snap package version (Brackets Release 1.14 build 1.14.1-17752).

@Taariqq
Copy link

Taariqq commented Jun 28, 2021

The same happened to me:
Live Preview doesn't work in Mint 20.1, Software Managers version but does work in the Snap package version (Brackets Release 1.14 build 1.14.1-17752).

I can't seem to even install snapd in Mint 20.1!
[Edit] got snapd enabled, installed, and brackets installed and live preview working, but not extensions ... true :(

@aniketbarik
Copy link
Author

@Taariqq Bracket is dead. Better switch to something else.

@Taariqq
Copy link

Taariqq commented Jun 30, 2021

@Taariqq Bracket is dead. Better switch to something else.

Yes, but 'that' functionality is irreplaceable.
Also, many people do not know that the editor inside Dreamweaver is actually Brackets, named Edge or something. Or rather Brackets was the experiment and Dreamweaver editor is the final product.

Hope at least some fork is kept alive. VSCode people are too stubborn to implement a proper live preview.

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

No branches or pull requests

6 participants