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

AUR Chrome not found on Manjaro Linux #16

Open
waynebloss opened this issue Jan 31, 2020 · 1 comment
Open

AUR Chrome not found on Manjaro Linux #16

waynebloss opened this issue Jan 31, 2020 · 1 comment

Comments

@waynebloss
Copy link

waynebloss commented Jan 31, 2020

Manjaro (and I'm assuming Arch Linux) gets the one and only google-chrome package installed at /usr/bin/google-chrome-stable so browser_launcher fails to launch it there.

Linking /usr/bin/google-chrome to the startup executable fixed the problem.

Not sure if you care enough to change anything, but you can read about my journey to this issue while using VS Code with Dart-Code at Dart-Code/Dart-Code#1830. Here's the error that I got:

Failed to launch browser: ProcessException: No such file or directory
  Command: google-chrome http://127.0.0.1:9100/?hide=debugger&ide=VSCode&theme=dark&uri=http%3A%2F%2F127.0.0.1%3A38507%2F16GEBer2mu0%3D%2F
#0      Chrome._startProcess (package:browser_launcher/src/chrome.dart:130:12)
<asynchronous suspension>
#1      Chrome.start (package:browser_launcher/src/chrome.dart:122:18)
#2      registerLaunchDevToolsService.<anonymous closure> (package:devtools_server/src/server.dart:425:24)
@strimmlarn
Copy link

strimmlarn commented Oct 4, 2020

Had same problem.

below code inside a folder linked to PATH solved it for me:
ln -s /usr/bin/chromium ./google-chrome

I don't know if you should use that if your ever planing on using google-chrome though. But it works if you use chromium I guess.

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

2 participants