One of my jobs started failing last night on a step that installs a dependency via NPM on a Linux machine. Is anyone else experiencing this?
#!/bin/bash -eo pipefail
npm install -g detox-cli
[..................] - idealTree:lib: sill idealTree buildDeps[[K..................] - idealTree:lib: sill idealTree buildDepsnpm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm ERR! errno UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm ERR! request to https://registry.npmjs.org/detox-cli failed, reason: unable to get local issuer certificate
npm ERR! A complete log of this run can be found in:
npm ERR! /home/circleci/.npm/_logs/2021-03-06T16_01_38_913Z-debug.log
Exited with code exit status 1
CircleCI received exit code 1
Welcome! Are you using a CircleCI docker image? if so, can you please let me know specifically which docker image you are using so I can inspect issuer certificates?
Please feel free to also share your config.yml file, a build link and package.json file if you’d like. This will help me recreate the issue locally and get a better understanding of what’s going on.
You can also try debugging with SSH. This feature allows you to SSH into your container to investigate the build environment.