# Yarn error

**URL:** <https://meta.discourse.org/t/yarn-error/307319>\
**Category:** Self-hosting\
**Created:** [May 8, 2024, 9:32pm UTC](https://meta.discourse.org/t/yarn-error/307319 "2024-05-08T21:32:12Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![Dan\_Turner1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dan_turner1/32/376209_2.png) [@Dan\_Turner1](https://meta.discourse.org/u/Dan_Turner1)\
**Post date:** [May 29, 2024, 12:42pm UTC](https://meta.discourse.org/t/yarn-error/307319/26 "2024-05-29T12:42:46Z")

</div>

Just to be clear, I added this before the yarn exec if-fi statement and it worked perfectly. Thanks @Genisis. You will need to add the correct spacings to match the surrounding execs.

exec:  
cd: $home  
cmd: - “su discourse -c ‘yarn config set network-timeout 600000 -g’”

---

_[View the full topic](https://meta.discourse.org/t/yarn-error/307319)._
