I'm new to yarn and when trying to install bower or gulp or any other packages global using the following command
yarn global add <package>
I get following error
This error was resloved by running
npm config set registry https://registry.npmjs.org/
npm registry was missing in config file