Error An unexpected error occurred: "https://registry.yarnpkg.com/ember-template-lint/-/ember-template-lint-5.11.2.tgz: ETIMEDOUT"

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
1 Like