# When Ever try to run build on Simulator or Tv Device Got command failed using 0.22.3 version

**URL:** <https://community.amazondeveloper.com/t/when-ever-try-to-run-build-on-simulator-or-tv-device-got-command-failed-using-0-22-3-version/28376>\
**Category:** Bug Reports\
**Created:** [May 21, 2026, 1:26pm UTC](https://community.amazondeveloper.com/t/when-ever-try-to-run-build-on-simulator-or-tv-device-got-command-failed-using-0-22-3-version/28376 "2026-05-21T13:26:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rupinder\_Singh](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@Rupinder\_Singh](https://community.amazondeveloper.com/u/Rupinder_Singh)\
**Post date:** [May 21, 2026, 1:26pm UTC](https://community.amazondeveloper.com/t/when-ever-try-to-run-build-on-simulator-or-tv-device-got-command-failed-using-0-22-3-version/28376/1 "2026-05-21T13:26:09Z")

</div>

# ⚠ Before you continue

* * *

_Before submitting a bug report, please review our troubleshooting documentation at_ [Troubleshoot Issues | Vega Troubleshooting](https://developer.amazon.com/docs/vega/0.21/troubleshoot-overview.html)

_If you still want to file a bug report, please make sure to fill in all the details below and provide the necessary information._

**NOTE: PLEASE ONLY REPORT A SINGLE BUG USING THIS TEMPLATE.**  
_If you’re experiencing multiple issues, please file a separate report for each._

* * *

# 👉 Bug Description

* * *

## 1. Summary

_Provide a brief description of the bug in the SDK and its impact on app functionality._

**App Name** :  
**App Link on Amazon Appstore** (found through Developer Console → Actions column in App List → View on [Amazon.com](http://Amazon.com)):

**Bug Severity**  
Select one that applies

- Impacts operation of app
- Blocks current development
- Improvement suggestion
- Issue with documentation (If selected, please share the doc link and describe the issue)
- Other

## 2. Steps to Reproduce

1. `[List the steps for reproducing the bug]`
2. `[Any specific component or method call in React Native triggering the issue]`
3. …

## 3. Observed Behavior

_Explain what actually happened, noting any discrepancies or malfunctions._

```auto
<!-- Answer here -->

```

## 4. Expected Behavior

_Describe what you expected the SDK to do under normal operation._

```auto
<!-- Answer here --> 

```

### 4.a Possible Root Cause & Temporary Workaround

_Fill out anything you have tried. If you don’t know, N/A is acceptable_

```auto
<!-- Answer here -->

```

## 5. Logs or crash report

_**`(Please make sure to provide relevant logs as attachment)`**_

For crash issues, please refer this guide for faster troubleshooting: [Detect Where the App Crash Originates | Design and Develop Vega Apps](https://developer.amazon.com/docs/vega/0.21/detect-crash.html)

- [App/Device Logs](https://developer.amazon.com/docs/vega/0.21/logs.html)

- [Crash Logs](https://developer.amazon.com/docs/vega/0.21/loggingctl.html)

- [Crash Report](https://developer.amazon.com/docs/vega/0.21/crash-report.html)

- For issues with Vega Studio Extension, please share log files from below folders:  
For v0.22+:

## 6. Environment

_Please fill out the fields related to your bug below:_

- **SDK Version:** Run _`vega --version`_ (v0.22+) or _`kepler --version`_ (v0.21 and earlier) and paste output

- **App State:** `[Foreground/Background]`

- **OS Information:** Please ssh into the device via `vega exec vda shell` (or `kepler exec vda shell` for v0.21 and earlier) and copy the output from `cat /etc/os-release` into the answer section below. Note, if you don’t have a simulator running or device attached, the command will respond with _`vda: no devices/emulators found`_

## 7. Example Code Snippet / Screenshots / Screengrabs

_Include any relevant code or component setup in React Native that can help reproduce the bug._

```auto
import { ExampleComponent } from 'custom-sdk';

<ExampleComponent config={{ key: 'value' }} />

```

* * *

## 👉 Playback Issues

* * *

_If this is a playback issue, please provide your content URL, any pre-conditions (like geo-location), and let us know if it’s x86 or arm7._

```auto

<!-- Describe your playback issue if applicable -->

```

Please share the following details in addition:\_

- **Player SDK:** `[Bitmovin, Shaka, ...]`
- **Player SDK Version:** `[e.g. 1.23]`
  - **Audio Codecs:** `[AAC, ...]`
  - **Video Codecs:** `[h.264, mp4]`
  - **Manifest Types:** `[m3u8, dash, etc ..]`

**Q: If applicable, please provide your media/content url**  
_If this is created dynamically, tokenized, etc please provide a way for us to access it_

```auto
[N/A or Content / Media Url for testing]

```

**Q: Are there any special headers required to reproduce the issue you are facing?**

```auto
[N/A or Insert Headers]

```

**Additionally please provide the following if possible**  
_Provide Screenshots / Screengrabs / Logs. Please include as much information as you can that will help debug._

```auto
<!-- Answer here if applicable --> 

```

* * *

## 👉 Additional Context

* * *

**Any Additional Context you would like to provide?**  
_Add any other relevant information, such as recent updates to the SDK, dependencies, or device OS that may affect the bug._

```auto
<!-- Answer here if applicable --> 

```

---

<div class="post-metadata">

**Author:** ![Rupinder\_Singh](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@Rupinder\_Singh](https://community.amazondeveloper.com/u/Rupinder_Singh)\
**Post date:** [May 21, 2026, 1:27pm UTC](https://community.amazondeveloper.com/t/when-ever-try-to-run-build-on-simulator-or-tv-device-got-command-failed-using-0-22-3-version/28376/3 "2026-05-21T13:27:26Z")

</div>

![Screenshot 2026-05-21 at 6.55.38 PM](https://d3mq594dkmpl37.cloudfront.net/original/2X/8/8e001c55981d26f8aa38265e5341e38a437ff519.png)

---

<div class="post-metadata">

**Author:** ![Ivy](https://dhm3gbtzu79o6.cloudfront.net/user_avatar/community.amazondeveloper.com/ivy/32/5637_2.png) [@Ivy](https://community.amazondeveloper.com/u/Ivy)\
**Post date:** [May 21, 2026, 4:37pm UTC](https://community.amazondeveloper.com/t/when-ever-try-to-run-build-on-simulator-or-tv-device-got-command-failed-using-0-22-3-version/28376/4 "2026-05-21T16:37:24Z")

</div>

Hi @Rupinder_Singh,

The error is clear from your logs: ` sh: line 0: cd: shaka-setup: No such file or directory`

Your postinstall script is trying to cd shaka-setup && ./build.sh &&./copyOutputs.sh, but the shaka-setup directory doesn’t exist yet.

If you’re using the Vega Video Sample app with Shaka Player, you need to set up Shaka Player before running npm install:

1. Download the Shaka Player package (e.g., shaka-rel-v4.16.13-r\<x.y\>.tar.gz)
2. Extract it: tar -xzf shaka-rel-v4.16.13-r\<x.y\>.tar.gz
3. Navigate to /shaka-rel/scripts and run ./setup.sh
4. Copy the generated files to your app root as described in the docs
5. Then run npm install

Full setup guide: [Play adaptive content (HLS/DASH) with Shaka Player | Design and Develop Vega Apps](https://developer.amazon.com/docs/vega/0.22/media-player-shaka-player.html)

If you’re not using Shaka Player in your app, remove the postinstall script from your package.json that references shaka-setup.

Also note: your package.json scripts still reference kepler commands (e.g. react-native build-kepler, kepler device install-app). For SDK 0.22+, these should be updated to vega commands (e.g., react-native build-vega, vega device install-app).

Warm Regards,  
Ivy

---

<div class="post-metadata">

**Author:** ![Ivy](https://dhm3gbtzu79o6.cloudfront.net/user_avatar/community.amazondeveloper.com/ivy/32/5637_2.png) [@Ivy](https://community.amazondeveloper.com/u/Ivy)\
**Post date:** [June 11, 2026, 6:08am UTC](https://community.amazondeveloper.com/t/when-ever-try-to-run-build-on-simulator-or-tv-device-got-command-failed-using-0-22-3-version/28376/5 "2026-06-11T06:08:57Z")

</div>


