We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While installing the ngrok binary getting following error:
ngrok
npm ERR! path C:\git\open-source\api-reference\node_modules\ngrok npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node ./postinstall.js npm ERR! ngrok - downloading binary https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-windows-amd64.zip npm ERR! ngrok - downloading progress: npm ERR! ngrok - error downloading from URL RequestError: self-signed certificate in certificate chain npm ERR! at ClientRequest.<anonymous> (C:\git\open-source\api-reference\node_modules\got\dist\source\core\index.js:970:111) npm ERR! at Object.onceWrapper (node:events:632:26) npm ERR! at ClientRequest.emit (node:events:529:35) npm ERR! at origin.emit (C:\git\open-source\api-reference\node_modules\@szmarczak\http-timer\dist\source\index.js:43:20) npm ERR! at TLSSocket.socketErrorListener (node:_http_client:501:9) npm ERR! at TLSSocket.emit (node:events:517:28) npm ERR! at emitErrorNT (node:internal/streams/destroy:151:8) npm ERR! at emitErrorCloseNT (node:internal/streams/destroy:116:3) npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:82:21) npm ERR! at TLSSocket.onConnectSecure (node:_tls_wrap:1600:34) npm ERR! at TLSSocket.emit (node:events:517:28) npm ERR! at TLSSocket._finishInit (node:_tls_wrap:1017:8) npm ERR! at ssl.onhandshakedone (node:_tls_wrap:803:12) { npm ERR! code: 'SELF_SIGNED_CERT_IN_CHAIN', npm ERR! timings: { npm ERR! start: 1701171048431, npm ERR! socket: 1701171048434, npm ERR! lookup: 1701171048658, npm ERR! connect: 1701171048662, npm ERR! secureConnect: undefined, npm ERR! upload: undefined, npm ERR! response: undefined, npm ERR! end: undefined, npm ERR! error: 1701171048669, npm ERR! abort: undefined, npm ERR! phases: { npm ERR! wait: 3, npm ERR! dns: 224, npm ERR! tcp: 4, npm ERR! tls: undefined, npm ERR! request: undefined, npm ERR! firstByte: undefined, npm ERR! download: undefined, npm ERR! total: 238 npm ERR! } npm ERR! } npm ERR! } npm ERR! ngrok - install failed, retrying npm ERR! ngrok - downloading binary https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-windows-amd64.zip npm ERR! ngrok - downloading progress: npm ERR! ngrok - error downloading from URL RequestError: self-signed certificate in certificate chain npm ERR! at ClientRequest.<anonymous> (C:\git\open-source\api-reference\node_modules\got\dist\source\core\index.js:970:111) npm ERR! at Object.onceWrapper (node:events:632:26) npm ERR! at ClientRequest.emit (node:events:529:35) npm ERR! at origin.emit (C:\git\open-source\api-reference\node_modules\@szmarczak\http-timer\dist\source\index.js:43:20) npm ERR! at TLSSocket.socketErrorListener (node:_http_client:501:9) npm ERR! at TLSSocket.emit (node:events:517:28) npm ERR! at emitErrorNT (node:internal/streams/destroy:151:8) npm ERR! at emitErrorCloseNT (node:internal/streams/destroy:116:3) npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:82:21) npm ERR! at TLSSocket.onConnectSecure (node:_tls_wrap:1600:34) npm ERR! at TLSSocket.emit (node:events:517:28) npm ERR! at TLSSocket._finishInit (node:_tls_wrap:1017:8) npm ERR! at ssl.onhandshakedone (node:_tls_wrap:803:12) { npm ERR! code: 'SELF_SIGNED_CERT_IN_CHAIN', npm ERR! timings: { npm ERR! start: 1701171049179, npm ERR! socket: 1701171049179, npm ERR! lookup: 1701171049179, npm ERR! connect: 1701171049183, npm ERR! secureConnect: undefined, npm ERR! upload: undefined, npm ERR! response: undefined, npm ERR! end: undefined, npm ERR! error: 1701171049188, npm ERR! abort: undefined, npm ERR! phases: { npm ERR! wait: 0, npm ERR! dns: 0, npm ERR! tcp: 4, npm ERR! tls: undefined, npm ERR! request: undefined, npm ERR! firstByte: undefined, npm ERR! download: undefined, npm ERR! total: 9 npm ERR! } npm ERR! } npm ERR! } npm ERR! ngrok - install failed, retrying npm ERR! ngrok - downloading binary https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-windows-amd64.zip npm ERR! ngrok - downloading progress: npm ERR! ngrok - error downloading from URL RequestError: self-signed certificate in certificate chain npm ERR! at ClientRequest.<anonymous> (C:\git\open-source\api-reference\node_modules\got\dist\source\core\index.js:970:111) npm ERR! at Object.onceWrapper (node:events:632:26) npm ERR! at ClientRequest.emit (node:events:529:35) npm ERR! at origin.emit (C:\git\open-source\api-reference\node_modules\@szmarczak\http-timer\dist\source\index.js:43:20) npm ERR! at TLSSocket.socketErrorListener (node:_http_client:501:9) npm ERR! at TLSSocket.emit (node:events:517:28) npm ERR! at emitErrorNT (node:internal/streams/destroy:151:8) npm ERR! at emitErrorCloseNT (node:internal/streams/destroy:116:3) npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:82:21) npm ERR! at TLSSocket.onConnectSecure (node:_tls_wrap:1600:34) npm ERR! at TLSSocket.emit (node:events:517:28) npm ERR! at TLSSocket._finishInit (node:_tls_wrap:1017:8) npm ERR! at ssl.onhandshakedone (node:_tls_wrap:803:12) { npm ERR! code: 'SELF_SIGNED_CERT_IN_CHAIN', npm ERR! timings: { npm ERR! start: 1701171049702, npm ERR! socket: 1701171049702, npm ERR! lookup: 1701171049703, npm ERR! connect: 1701171049706, npm ERR! secureConnect: undefined, npm ERR! upload: undefined, npm ERR! response: undefined, npm ERR! end: undefined, npm ERR! error: 1701171049711, npm ERR! abort: undefined, npm ERR! phases: { npm ERR! wait: 0, npm ERR! dns: 1, npm ERR! tcp: 3, npm ERR! tls: undefined, npm ERR! request: undefined, npm ERR! firstByte: undefined, npm ERR! download: undefined, npm ERR! total: 9 npm ERR! } npm ERR! } npm ERR! } npm ERR! ngrok - install failed RequestError: self-signed certificate in certificate chain npm ERR! at ClientRequest.<anonymous> (C:\git\open-source\api-reference\node_modules\got\dist\source\core\index.js:970:111) npm ERR! at Object.onceWrapper (node:events:632:26) npm ERR! at ClientRequest.emit (node:events:529:35) npm ERR! at origin.emit (C:\git\open-source\api-reference\node_modules\@szmarczak\http-timer\dist\source\index.js:43:20) npm ERR! at TLSSocket.socketErrorListener (node:_http_client:501:9) npm ERR! at TLSSocket.emit (node:events:517:28) npm ERR! at emitErrorNT (node:internal/streams/destroy:151:8) npm ERR! at emitErrorCloseNT (node:internal/streams/destroy:116:3) npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:82:21) npm ERR! at TLSSocket.onConnectSecure (node:_tls_wrap:1600:34) npm ERR! at TLSSocket.emit (node:events:517:28) npm ERR! at TLSSocket._finishInit (node:_tls_wrap:1017:8) npm ERR! at ssl.onhandshakedone (node:_tls_wrap:803:12) { npm ERR! code: 'SELF_SIGNED_CERT_IN_CHAIN', npm ERR! timings: { npm ERR! start: 1701171049702, npm ERR! socket: 1701171049702, npm ERR! lookup: 1701171049703, npm ERR! connect: 1701171049706, npm ERR! secureConnect: undefined, npm ERR! upload: undefined, npm ERR! response: undefined, npm ERR! end: undefined, npm ERR! error: 1701171049711, npm ERR! abort: undefined, npm ERR! phases: { npm ERR! wait: 0, npm ERR! dns: 1, npm ERR! tcp: 3, npm ERR! tls: undefined, npm ERR! request: undefined, npm ERR! firstByte: undefined, npm ERR! download: undefined, npm ERR! total: 9 npm ERR! } npm ERR! } npm ERR! }
Can we use some environment variable to bypass this, and then pass following options in got download:
got
{https: { rejectUnauthorized: false }}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
While installing the
ngrok
binary getting following error:Can we use some environment variable to bypass this, and then pass following options in
got
download:The text was updated successfully, but these errors were encountered: