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

[BUG] <title> UNABLE_TO_GET_ISSUER_CERT_LOCALLY #7991

Closed
2 tasks done
Fraudstopper opened this issue Dec 18, 2024 · 1 comment
Closed
2 tasks done

[BUG] <title> UNABLE_TO_GET_ISSUER_CERT_LOCALLY #7991

Fraudstopper opened this issue Dec 18, 2024 · 1 comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps

Comments

@Fraudstopper
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

When I ran docker build -t welcome-to-docker . I received the following error message "npm error Exit handler never called!
npm error This is an error with npm itself. Please report this error at:
npm error https://github.com/npm/cli/issues
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-12-18T17_11_12_349Z-debug-0.log
npm error code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm error errno UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm error request to https://registry.npmjs.org/serve failed, reason: unable to get local issuer certificate
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-12-18T17_11_12_349Z-debug-0.log"

I made sure node.js and npm were up to date and installed and reran the same command however got the same result.

Expected Behavior

was supposed to create a image file.

Steps To Reproduce

  1. In this environment...
  2. With this config...
  3. Run '...'
  4. See error...
  5. Clone the repository git clone https://github.com/docker/welcome-to-docker
  6. Run cd welcome-to-docker
  7. verify Dockerfile in project directory
  8. run docker build -t welcome-to-docker .

Environment

  • npm:
  • Node.js:
  • OS Name:
  • System Model Name:
  • npm config:
; copy and paste output from `npm config ls` here
@Fraudstopper Fraudstopper added Bug thing that needs fixing Needs Triage needs review for next steps labels Dec 18, 2024
@Fraudstopper
Copy link
Author

Disregard this is an issue caused by corporate organizational policies surrounding ssl certificates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps
Projects
None yet
Development

No branches or pull requests

1 participant