game-ci / game-ci/cli

Error during install on macOS

Closed Beginner friendly
#272 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
16
Forks
6
Avg merge
1h 51m
Merged PRs (30d)
167

Description

**Bug description**

I get an error during install script execution on macOS:

```
bash-3.2$ curl -fsSL https://raw.githubusercontent.com/game-ci/cli/main/install.sh | sh

info: Fetching installer: https://raw.githubusercontent.com/game-ci/cli/main/scripts/install.sh

info: Installing game-ci CLI (latest)
info: to: /Users/aas/.game-ci/bin

/var/folders/dj/2hhsb67s093gx0zh84qf4vzw0000gn/T/tmp.eoUI4APnrz/install.sh: line 116: auth_header[@]: unbound variable
error: Installation failed. See the output above for details.
```

**How to reproduce**

I run the command on my Mac Mini (Mac14,3), as instruced in `README.md`:

`curl -fsSL https://raw.githubusercontent.com/game-ci/cli/main/install.sh | sh`

- **Expected behavior**

Game-ci CLI should be installed successfully.

Contributor guide

Open the contributing guide

Research direction

Start with scripts/install.sh, especially around line 116, and reproduce the documented curl command on macOS. Trace the auth_header[@] failure during installer execution; the work is done when the installer completes successfully and installs the game-ci CLI as described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
84/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.