# Errore Si è verificato un errore imprevisto: "https://registry.yarnpkg.com/ember-template-lint/-/ember-template-lint-5.11.2.tgz: ETIMEDOUT"

**URL:** https://meta.discourse.org/t/error-an-unexpected-error-occurred-https-registry-yarnpkg-com-ember-template-lint-ember-template-lint-5-11-2-tgz-etimedout/288177
**Category:** Self-hosting
**Created:** [11 Dicembre 2023, 1:32am UTC](https://meta.discourse.org/t/error-an-unexpected-error-occurred-https-registry-yarnpkg-com-ember-template-lint-ember-template-lint-5-11-2-tgz-etimedout/288177 "2023-12-11T01:32:32Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![sober](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sober/32/344783_2.png) [@sober](https://meta.discourse.org/u/sober)
#### Post date: [11 Dicembre 2023, 6:27am UTC](https://meta.discourse.org/t/error-an-unexpected-error-occurred-https-registry-yarnpkg-com-ember-template-lint-ember-template-lint-5-11-2-tgz-etimedout/288177/2 "2023-12-11T06:27:38Z")

</div>

Per trovare la soluzione, modifica il sorgente di yarn in \*.yml

```plaintext
hooks:
  after_code:
    - exec:
        cd: $home
        cmd:
          - grep -rl "registry.yarnpkg.com" . | tee ./find_cache.txt | xargs sed -i "s/registry.yarnpkg.com/registry.npmmirror.com/g" & && cat ./find_cache.txt & && rm ./find_cache.txt

```

---

_[View the full topic](https://meta.discourse.org/t/error-an-unexpected-error-occurred-https-registry-yarnpkg-com-ember-template-lint-ember-template-lint-5-11-2-tgz-etimedout/288177)._
