# A system error occurred: uv\_os\_homedir returned EEXIST (file already exists)

**URL:** https://community.homey.app/t/a-system-error-occurred-uv-os-homedir-returned-eexist-file-already-exists/117595
**Category:** Developers
**Created:** [October 7, 2024, 7:05pm UTC](https://community.homey.app/t/a-system-error-occurred-uv-os-homedir-returned-eexist-file-already-exists/117595 "2024-10-07T19:05:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Snoep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/snoep/32/114963_2.png) [@Snoep](https://community.homey.app/u/Snoep)
#### Post date: [October 7, 2024, 7:05pm UTC](https://community.homey.app/t/a-system-error-occurred-uv-os-homedir-returned-eexist-file-already-exists/117595/1 "2024-10-07T19:05:30Z")

</div>

Im creating my first homey app for personal use that uploads a file to s3 bucket. when runnning my app by `homey app run` the flow card works as expected but when using it through `homey app install` im getting this error:

```auto
A system error occurred: uv_os_homedir returned EEXIST (file already exists)

```

---

<div class="post-metadata">

### Author: ![Snoep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/snoep/32/114963_2.png) [@Snoep](https://community.homey.app/u/Snoep)
#### Post date: [October 7, 2024, 7:47pm UTC](https://community.homey.app/t/a-system-error-occurred-uv-os-homedir-returned-eexist-file-already-exists/117595/2 "2024-10-07T19:47:51Z")

</div>

for anyone googling this i solved it by adding

```
  process.env.HOME = '/tmp';

```

apparently s3client is looking for a home folder but homey doesn’t have one. by setting a fake one this problem is circumvented.
