getImgJson: error: unable to get local issuer certificate - Node docker registry client

0

Iam trying to use this node module to get docker image related info from docker registry https://github.com/joyent/node-docker-registry-client

Iam getting the following error when using the different programs under examples folder

getImgJson: error: unable to get local issuer certificate

ping: error: unable to get local issuer certificate

Any help how to fix… Thanks in advance…