gitignore icon indicating copy to clipboard operation
gitignore copied to clipboard

I got error message like following when I try create .gitignore file for node.

Open ian-kim opened this issue 7 years ago • 2 comments

An unexpected error occurred. { Error: unable to get local issuer certificate at TLSSocket. (_tls_wrap.js:1116:38) at emitNone (events.js:106:13) at TLSSocket.emit (events.js:208:7) at TLSSocket._finishInit (_tls_wrap.js:643:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:473:38) code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY' }

If there is any workaround, please let me know. could you explain of process and when use certi?

thanks in advance.

ian-kim avatar Sep 18 '18 22:09 ian-kim

What exact command are you running?

msfeldstein avatar Aug 21 '19 14:08 msfeldstein

I get the same thing. I have tried running it as:

gitignore -types npx gitignore -types

Fetching available types... An unexpected error occurred. Error: unable to get local issuer certificate at TLSSocket.onConnectSecure (node:_tls_wrap:1535:34) at TLSSocket.emit (node:events:513:28) at TLSSocket._finishInit (node:_tls_wrap:949:8) at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:730:12) { code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY' }

But regardless of the command, I get the same error message. So, if I run gitignore node, I get the same error.

dcox1776 avatar Sep 30 '22 15:09 dcox1776