最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - ENOTFOUND registry.yarnpkg.com error while running yarn install - Stack Overflow

programmeradmin2浏览0评论

Usually I run yarn install mand, it works fine without any issues. But now, while running with same mand I'm facing below error:

Error an unexpected error occurred,  "/@babel/core/-/core-7.9.0.tgz" get addrinfo ENOTFOUND registry.yarnpkg

I have checked in both windows and Mac the same error is occurring.

Usually I run yarn install mand, it works fine without any issues. But now, while running with same mand I'm facing below error:

Error an unexpected error occurred,  "https://registry.yarnpkg./@babel/core/-/core-7.9.0.tgz" get addrinfo ENOTFOUND registry.yarnpkg.

I have checked in both windows and Mac the same error is occurring.

Share Improve this question edited Jun 20, 2021 at 13:50 Daniel Manta 6,74317 gold badges42 silver badges48 bronze badges asked Jun 18, 2021 at 15:00 SaraSara 431 gold badge1 silver badge3 bronze badges 1
  • I ran to the same problem when my internet went down, FYI. – Mac Yang Commented Sep 26, 2022 at 12:49
Add a ment  | 

1 Answer 1

Reset to default 5

Upgrade yarn (just in case it's not), then delete node_modules and yarn.lock. Try running yarn install again.

发布评论

评论列表(0)

  1. 暂无评论