yarn global operations always throws unexpected error

Created on 18 Jan 2018  Â·  1Comment  Â·  Source: yarnpkg/yarn

What is the current behavior?

yarn global list or other global actions always throw the following error:

error An unexpected error occurred: "https://registry.yarnpkg.com/electron/-/electron-1.8.0.tgz: Request failed \"404 Not Found\"".
Although that wasn't even requested. Tried clearing the yarn cache and reinstalling yarn.

What is the expected behavior?

global actions shouldn't… throw an error

Please mention your node.js, yarn and operating system version.

yarn v1.3.2, node 6.11.2, mac os 10.13.2

triaged

Most helpful comment

Was having this same problem and what finally worked for me was rm -rf ~/.config/yarn/global

>All comments

Was having this same problem and what finally worked for me was rm -rf ~/.config/yarn/global

Was this page helpful?
0 / 5 - 0 ratings