Description
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
- In this environment...
- With this config...
- Run '...'
- See error...
- Clone the repository git clone https://github.com/docker/welcome-to-docker
- Run cd welcome-to-docker
- verify Dockerfile in project directory
- 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