# yarn install 卡住，超时

**URL:** https://meta.discourse.org/t/stuck-on-yarn-install-time-out/227738
**Category:** Self-hosting
**Created:** [2022年五月22日 02:21 UTC](https://meta.discourse.org/t/stuck-on-yarn-install-time-out/227738 "2022-05-22T02:21:16Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![agungor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/agungor/32/260344_2.png) [@agungor](https://meta.discourse.org/u/agungor)
#### Post date: [2022年五月22日 02:42 UTC](https://meta.discourse.org/t/stuck-on-yarn-install-time-out/227738/2 "2022-05-22T02:42:36Z")

</div>

也许增加 yarn 网络超时时间会有所帮助？这是一个例子：

> **[Fixing Yarn ESOCKETTIMEDOUT Error During Discourse Setup | Mario Lurig](https://mariolurig.com/coding/fixing-yarn-esockettimedout-error-discourse-setup/)**
>
> While installing Discourse on a free tier instance in a Google Cloud Compute Instance, I was following this discourse install tutorial with only minor adjustments: Used Ubuntu 20.04 LTS minimal Standard Disk (default is Balanced) e2.micro instance...

---

_[View the full topic](https://meta.discourse.org/t/stuck-on-yarn-install-time-out/227738)._
