Facing this issue in Docker while building the app.
#0 71.32 npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
#0 71.32 npm ERR! errno UNABLE_TO_GET_ISSUER_CERT_LOCALLY
#0 71.32 npm ERR! request to https://registry.npmjs.org/npm failed, reason: unable to get local issuer certificate
#0 71.32
Tried several solutions from here like setting the strict-ssl
and registry
url as http
instead of https
in npm
config but none of them worked. Could anyone please advise?