Re: UNABLE_TO_GET_ISSUER_CERT_LOCALLY Error on chaincode install #fabric #fabric-sdk-node #tls


Chris Gabriel
 




On May 2, 2021, at 10:51 PM, Kevin X <kevinx8888@...> wrote:



I am trying to install chaincode on a mac catalina which has Symantec WSS.

I get following error when I try to install chaincode:

+ peer lifecycle chaincode install mycc.tar.gz

+ res=1

Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image build failed: docker build failed: Error returned from build: 1 "+ INPUT_DIR=/chaincode/input

+ OUTPUT_DIR=/chaincode/output

+ cp -R /chaincode/input/src/. /chaincode/output

+ cd /chaincode/output

+ '[' -f package-lock.json -o -f npm-shrinkwrap.json ]

+ npm ci '--only=production'

npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY

npm ERR! errno UNABLE_TO_GET_ISSUER_CERT_LOCALLY

npm ERR! request to https://registry.npmjs.org/moment/-/moment-2.27.0.tgz failed, reason: unable to get local issuer certificate

Any suggestions on how to solve this issue?

Thanks

Join fabric@lists.hyperledger.org to automatically receive all group messages.