You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optionally set the NODE_EXTRA_CA_CERTS environment variable to the point to the created bundle.crt.
This will fix errors similar to:
FetchError: request to https://****** failed, reason: unable to verify the first certificate
at ClientRequest.<anonymous> (/usr/local/lib/***)
at ClientRequest.emit (node:events:513:28)
at TLSSocket.socketErrorListener (node:_http_client:502:9)
at TLSSocket.emit (node:events:525:35)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
The text was updated successfully, but these errors were encountered:
If the certificate is installed globally (OS-wide), it should be enough to set the NODE_OPTIONS envar to --use-openssl-ca. This could be achieved by containerEnv or remoteEnv options in the devcontainer.json.
Optionally set the
NODE_EXTRA_CA_CERTS
environment variable to the point to the createdbundle.crt
.This will fix errors similar to:
The text was updated successfully, but these errors were encountered: