I tried to install a package with yarn earlier today and I got this
yarn install
yarn install v1.9.4
[1/4]
In my case, there was a hidden file .npmrc
that had the registry pointed to a location in another private network, which my network did not have access to. Once, I commented out the private network related entries in this file, yarn install
started working. Also, yarn-error.log
was generated, that had this information.