Reputation: 43
Usually I run yarn install
command, it works fine without any issues. But now, while running with same command I'm facing below error:
Error an unexpected error occurred, "https://registry.yarnpkg.com/@babel/core/-/core-7.9.0.tgz" get addrinfo ENOTFOUND registry.yarnpkg.com
I have checked in both windows and Mac the same error is occurring.
Upvotes: 4
Views: 17808
Reputation: 1571
Upgrade yarn
(just in case it's not), then delete node_modules
and yarn.lock
. Try running yarn install
again.
Upvotes: 5