expo / expo/expo-github-action

Error: Parameter 'commandLine' cannot be null or empty. on self-hosted runners

Open
#236 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1k
Forks
107
PR merge metrics
No merged PRs in 30d

Description

### 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 ()
##[debug] at /home/jakovglavina/actions-runner/_work/_actions/expo/expo-github-action/v8/build/setup/index.js:5784:71
##[debug] at new Promise ()
##[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](https://github.com/expo/expo-github-action/assets/19533289/a7546b40-6f51-4cdb-867c-44e5ffac18cc)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.