-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next steps
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
I'm seeing this output in our Docker build in the step RUN npm ci:
#12 [base-build 4/5] RUN npm ci
#12 7.165 npm error Exit handler never called!
#12 7.165 npm error This is an error with npm itself. Please report this error at:
#12 7.165 npm error <https://github.com/npm/cli/issues>
#12 7.166 npm error A complete log of this run can be found in: /root/.npm/_logs/2024-07-19T06_11_36_243Z-debug-0.log
Expected Behavior
RUN npm ci completes successfully and Docker build continues
Steps To Reproduce
Our Dockerfile up to this point:
FROM node:slim as base-build
COPY package.json package-lock.json /site/
WORKDIR /site
RUN npm ci
Extract of package.json:
{
..
"engines": {
"node": ">=16.16.0"
},
..Then run docker build -t some-tag .
Environment
- OS Name: Ubuntu 22.04.4 (GitHub runner)
Output of npm config ls:
#10 0.500 ; node bin location = /usr/local/bin/node
#10 0.500 ; node version = v22.5.0
#10 0.500 ; npm local prefix = /site
#10 0.500 ; npm version = 10.8.2
#10 0.500 ; cwd = /site
#10 0.500 ; HOME = /root
SquirrelDeveloper, eemeli, wonesy, poldixd, Silvana-Ragarock and 16 more
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next steps