Unable to Get Local Issuer Certificate for installing Npm Modules
- By : Mydatahack
- Category : Front-End, Web Technologies
- Tags: Node Module, Node.js, Npm, Yarn
unable to get local issuer certificate error with yarn install from a private npm repository (such as JFrog), you can try running this command:
yarn config set "strict-ssl" false yarn install
Error message example
error An unexpected error occurred: “https://npco.jfrog.io/artifactory/api/npm/npm-mdh/@mdh/my-library/-/@mdh/my-library-3.21.0.tgz: unable to get local issuer certificate”.