I have a .npmrc file in project root level and if I do npm login
it throws an error
npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm ERR! errno UNABLE_TO_GET_ISSUER_CERT_LOCALLY
After deleting .npmrc
I am able to log in. I have correct configuration for .npmrc
as well
//npm-proxy.fury.io/myorg/:_authToken=mytoken
registry=https://npm-proxy.fury.io/myorg/
It tried to fetch from a private gemfury repository.
What I got to know is that the gemfury server cannot authenticate my machine from the token which I am having.
What could possibly go wrong here?
A workaround was found in https://github.com/npm/npm/issues/9580
Fix is to make strict-ssl=false
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.