Error: unable to get local issuer certificate while running yarn command
in Nodejs command prompt run the following command. then everything works. its bcos of running behind a proxy error
yarn config set "strict-ssl" false -g
Realised that config needs to get into .yarnrc
file. I have set following to get it worked.
cafile null
strict-ssl false
Also please note that yarn also takes config options from .npmrc
file as well.