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
If you tried everything like registry setup, clearing cache and other commands for npm and yarn and your issue is not solved then try a simple approach by deleting lock files from your folder and run "yarn install" again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With