Skip to content

request to https://registry.npmjs.org/playwright failed, reason: unable to get local issuer certificate #143

@dyeske

Description

@dyeske

What happened?

I believe my root certs are up to date. I have ca-certificates installed via apt-get on Ubuntu 24.04.4 LTS. I haven't tried to manually hit the site via openssl s_client yet, but I wanted to open this ticket in case someone else has had this same problem. I know my clock and date are valid.

I have the following output
npm 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/playwright failed, reason: unable to get local issuer certificate

npm ERR! A complete log of this run can be found in:
npm ERR! /home/redacted/.npm/_logs/2026-04-09T15_12_11_361Z-debug-0.log
npm install 2.22s user 0.90s system 4% cpu 1:08.91 total

Steps to reproduce

cd career-ops
npm install

Expected behavior

npm should have completed

OS

Ubuntu noble

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions