# Error An unexpected error occurred: "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:** [December 11, 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:** 5

<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:** [December 11, 2023, 12:38pm 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/5 "2023-12-11T12:38:43Z")

</div>

Find the solution and replace the accelerated yarn source

> [@Error An unexpected error occurred: "https://registry.yarnpkg.com/ember-template-lint/-/ember-template-lint-5.11.2.tgz: ETIMEDOUT"](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):
>
> To find the solution, modify the yarn source in \*.yml 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)._
