Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ian-kim opened this issue Sep 18, 2018 · 2 comments

Comments

@ian-kim
Copy link

ian-kim commented Sep 18, 2018

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.

@msfeldstein
Copy link
Owner

What exact command are you running?

@dcox1776
Copy link

dcox1776 commented Sep 30, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants