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

Error on [self-hosted, self-ubuntu-latest] ARC Runner #380

Open
stixaw opened this issue Aug 24, 2023 · 3 comments
Open

Error on [self-hosted, self-ubuntu-latest] ARC Runner #380

stixaw opened this issue Aug 24, 2023 · 3 comments
Labels
self-hosted runner Issu on self-hosted runner

Comments

@stixaw
Copy link

stixaw commented Aug 24, 2023

When I try to install any version of chrome I get this error in the workflow:

Installing chromium...
Error: Unable to locate executable file: ar. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

I am not a Github Runner person or a linux person is there a simple fix I can add to the script?

@perumatx
Copy link

I tried installing some dependency 👍 and it worked

  • name: Install required libraries
    run: |
    sudo apt-get update
    sudo apt-get install -q -y libgconf-2-4 libatk1.0-0 libatk-bridge2.0-0 libgdk-pixbuf2.0-0 libgtk-3-0
    libgbm-dev libnss3-dev libxss-dev libasound2 xvfb fonts-liberation libu2f-udev xdg-utils
    shell: bash

@ueokande ueokande added the self-hosted runner Issu on self-hosted runner label Sep 17, 2023
@ueokande
Copy link
Collaborator

The self-hosted runner doesn't have some dependencies. The ar is an archive utility. Please install binutils before setup-chrome

- run:
    sudo apt-get update
    sudo apt-get install -y binutils
- uses: browser-actions/setup-chrome@v1

@augustoaccorsi
Copy link

Hello, I am also having this issue, do you have any workarround?

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

No branches or pull requests

4 participants