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: Parameter 'commandLine' cannot be null or empty. on self-hosted runners #236

Open
fobos531 opened this issue Oct 11, 2023 · 2 comments

Comments

@fobos531
Copy link

fobos531 commented Oct 11, 2023

Description of the bug

I have observed this issue where on the self-hosted runner, my expo action fails even though I have provided the expo token etc.

To Reproduce

What steps did you perform which led to this issue?

  1. Create a self hosted linux runner
  2. Point your action to this runner

Expected behavior

Expo github action should successfully complete.

Actual behavior

Installing eas-cli (5.4.0) from cache or with yarn
::group::Validating authenticated account
Validating authenticated account
  ::endgroup::
Error: Parameter 'commandLine' cannot be null or empty.
##[debug]Error: Parameter 'commandLine' cannot be null or empty.
##[debug]    at /home/jakovglavina/actions-runner/_work/_actions/expo/expo-github-action/v8/build/setup/index.js:5805:19
##[debug]    at Generator.next (<anonymous>)
##[debug]    at /home/jakovglavina/actions-runner/_work/_actions/expo/expo-github-action/v8/build/setup/index.js:5784:71
##[debug]    at new Promise (<anonymous>)
##[debug]    at __webpack_modules__.1514.__awaiter (/home/jakovglavina/actions-runner/_work/_actions/expo/expo-github-action/v8/build/setup/index.js:5780:12)
##[debug]    at exec (/home/jakovglavina/actions-runner/_work/_actions/expo/expo-github-action/v8/build/setup/index.js:5802:12)
##[debug]    at authenticate (/home/jakovglavina/actions-runner/_work/_actions/expo/expo-github-action/v8/build/setup/index.js:72452:[28]
##[debug]Node Action run completed with exit code 1
##[debug]MSYS='winsymlinks:nativestrict'
##[debug]Finishing: 🏗 Setup EAS

Additional context

On Github-hosted runners this step passes sucessfully, but again fails on the following step:
CleanShot 2023-10-11 at 13 37 11@2x

@rkcollabro
Copy link

Had the same issue on a Ubuntu 22.04 self-hosted runner. I was able to bypass it via npm install --global eas-cli on my self-hosted runner

@knksmith57
Copy link

Has anyone been able to fix this on a project using yarn 4?

This action is broken for me with this same error even after trying:

  1. omitting eas-version and pre-installing eas-cli globally via npm i -g eas-cli
  2. including eas-version: latest and ^ or not installing it globally first
  3. quite literally any combination of attempts to preconfigure the runner with eas-cli and @expo/cli

What package managers + versions are folks running where this is actually working for them?

Very much would appreciate any guidance here; this feels so broken and opaque that I'm out of ideas attempting to debug.

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

3 participants