Skip to content

Chrome executable not found even when $CHROME_EXECUTABLE defined and google-chrome is in path #117

@binbard

Description

@binbard

Describe the bug

2023/01/18 13:45:07 INFO [main] Hetty (v0.7.0) is running on :8080 ...
2023/01/18 13:45:07 INFO [main] Get started at http://localhost:8080
2023/01/18 13:45:07 INFO [main] Chrome executable not found.

To Reproduce

Steps to reproduce the behavior:

  1. Using WSL Ubuntu 22
  2. Installed hetty with snap
  3. Installed chrome by downloading official .deb package from google, then
  4. sudo apt install ./google-chrome-stable_current_amd64.deb
  5. CHROME_EXECUTABLE=/usr/bin/google-chrome was defined after installing
  6. /usr/bin/google-chrome was added to path after installing

Error:
INFO [main] Chrome executable not found

Expected behavior
Chrome executable should be launched with hetty

Screenshots
WindowsTerminal_ondR2YY2d1

Desktop (please complete the following information):

  • OS: WSL 22 LTS on Windows 11
  • Kernel: 5.15.79.1-microsoft-standard-WSL2 (amd64)
  • Browser: Google Chrome Version 109.0.5414.74
  • Snap Version 2.57.5+22.04ubuntu0.1
  • Hetty Version 0.7.0

Additional context
Even before I tried adding CHROME_EXECUTABLE and adding /usr/bin/google-chrome to path manually, no success

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions