Bug Description
1. Summary
Installing the Vega SDK on Linux with the documented one-liner stops twice:
- first because
jqis missing (it isn’t listed as a prerequisite); - then because
vega sdk config setupprompts for a directory and fails withfailed to read input: EOFwhen stdin isn’t a terminal, which is the case in anycurl … | bash, CI job or setup script.
App Name: Kahani TV (hackathon project, not yet on the Appstore)
App Link on Amazon Appstore: N/A
Bug Severity
- Impacts operation of app
- Blocks current development
- Improvement suggestion
- Issue with documentation: the Vega SDK install page lists no jq prerequisite
- Other
2. Steps to Reproduce
- On a fresh Ubuntu 24.04 without jq, run the documented installer one-liner (
get_vvm.sh). - Observe
jq is required. Install jq and run it again. - Run
vega sdk config setupfrom a script or a pipe (stdin not a TTY).
3. Observed Behavior
jq is required
...
failed to read input: EOF
The setup exits without configuring the SDK directory.
4. Expected Behavior
The prerequisites page lists jq. When stdin is not a terminal, setup uses its
defaults (as --non-interactive does) instead of failing on EOF.
4.a Possible Root Cause & Temporary Workaround
Root cause: the installer parses JSON with jq, and setup always prompts.
Workaround: install jq, then run
vega sdk config setup --non-interactive && vega sdk install --non-interactive
5. Logs or crash report
N/A (installer output quoted above).
6. Environment
- SDK Version: Vega CLI 1.4.5
- React Native Version: N/A (installer)
- App State: N/A
- OS Information: host Ubuntu 24.04 (container). No device or simulator involved.
7. Example Code Snippet / Screenshots / Screengrabs
curl -fsSL <documented get_vvm.sh URL> | bash # → jq is required
vega sdk config setup < /dev/null # → failed to read input: EOF
Playback Issues
N/A
Additional Context
Found while setting up for the Amazon Developer hackathon (Fire TV track). Easy to
work around once known, but every new Linux user and every CI setup hits it.