Force yarn to ignore npm config

Viewed 752

I don't want yarn to use my npm config. Specifically, I want it to ignore my npm registry because I use a custom one for work, which fails if I'm not on the VPN.

I know I can swap the registry out in about 5 seconds, but I imagine it's possible to separate yarn/npm configs.

1 Answers

Yarn comes with the default yarn registry (https://registry.yarnpkg.com). The problem you can't install via yarn is probably because of your SSL? try yarn config set strict-ssl false and see if that works

Related