# command child-writer.js fails

**URL:** <https://forums.balena.io/t/command-child-writer-js-fails/367174>\
**Category:** balenaEtcher\
**Created:** [March 16, 2023, 4:14am UTC](https://forums.balena.io/t/command-child-writer-js-fails/367174 "2023-03-16T04:14:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lively](https://avatars.discourse-cdn.com/v4/letter/l/a9adbd/32.png) [@Lively](https://forums.balena.io/u/Lively)\
**Post date:** [March 16, 2023, 4:14am UTC](https://forums.balena.io/t/command-child-writer-js-fails/367174/1 "2023-03-16T04:14:48Z")

</div>

Hi

I am trying to flash HomeAssistantOS to an Odroid N2 with an eMMC (Red) 124 GB storage. I have tried flashing straight to the eMMC, and flashing to the Odroid with the eMMC attached to it.

When flashing directly to the eMMC, it usually doesn’t show up as a drive, but when it does and I run Etcher, I get this error:  
[erroutput.txt](https://forums.balena.io/uploads/short-url/uURplEaJsUg09aXfxu5yGmaXeSu.txt) (734.2 KB)  
You may notice the error is just child-writer.js

When flashing to the Odroid while the eMMC is connected, it shows up as a drive as long as I have run

```auto
ums /dev/mmcblk0

```

in the Odroid shell. Then I get the same error.

Since the first line of the error is that it won’t run etcher, I guessed that Windows Defender might be preventing me from flashing, so I turned it off, tried again as admin, and the error is the same for both methods.  
I think the issue is with this file somehow, my security settings are still blocking something or I am missing some dependency/setup, but I don’t see a clear route to go from here.

The eMMC is brand new and I am on Windows 11

---

<div class="post-metadata">

**Author:** ![alanb128](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/alanb128/32/2839_2.png) [@alanb128](https://forums.balena.io/u/alanb128)\
**Post date:** [March 22, 2023, 3:11am UTC](https://forums.balena.io/t/command-child-writer-js-fails/367174/2 "2023-03-22T03:11:52Z")

</div>

Hello, it looks like possibly there is an issue reaching the URL of the file to flash. What URL are you using? If you paste it into a browser, does it download the file? If so, can you try flashing the downloaded file rather than using a URL? (Assuming you are following the steps here: [ODROID - Home Assistant](https://www.home-assistant.io/installation/odroid/))

---

<div class="post-metadata">

**Author:** ![jamsmith](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@jamsmith](https://forums.balena.io/u/jamsmith)\
**Post date:** [March 22, 2023, 3:31pm UTC](https://forums.balena.io/t/command-child-writer-js-fails/367174/3 "2023-03-22T15:31:37Z")

</div>

Facing a same problem reagarding to command child-writer but its working[.](https://toweroflondontour.com/) Thanks

---

<div class="post-metadata">

**Author:** ![Lively](https://avatars.discourse-cdn.com/v4/letter/l/a9adbd/32.png) [@Lively](https://forums.balena.io/u/Lively)\
**Post date:** [March 23, 2023, 3:46pm UTC](https://forums.balena.io/t/command-child-writer-js-fails/367174/4 "2023-03-23T15:46:35Z")

</div>

Thanks @alanb128 !  
That is indeed where I was following instruction; that is my bad as I meant to include that with my error description but forgot to.

I have tried your suggestion of downloading it first instead of flashing from URL and I am finally able to flash. However my flashing fails at 100%, although it appears to have finished. A quick read of the error gives me the impression that the error is irrelevant to the OS itself, so I will connect it to a screen when I am home and see if it works and get back. Until then, here is a copy of the output, with the error being the last 2 lines of the output

[erroutput2.txt](https://forums.balena.io/uploads/short-url/lZBOOBfO2qADNDmifIRA6kcQwXG.txt) (2.4 KB)
