Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
(While there are similar issues already open, the wiki page for "exit handler never called" errors recommends opening a new issue, so I am doing so)
I am running into errors when using Node.js v22.5.0 and npm v10.8.2 to install dependencies. In GitHub Actions, I'm seeing an "Exit handler never called!" error. I tried installing the same versions locally, and instead npm never exits -- the packages get installed, but I just see a spinner in the terminal forever. I did not have any issues in CI prior to the release of Node.js v22.5.0. When I use Node.js v20.12.2 and npm v10.8.2 locally, installation completes successfully. Thus, I think some change in Node.js v22.5.0 must be related.
Here's a log file from the error happening in GitHub Actions: 2024-07-17T17_07_43_972Z-debug-0.log. This came from the following run: https://github.com/divviup/divviup-api/actions/runs/9978466717/job/27575428716?pr=1178
Expected Behavior
npm ci should succeed and exit cleanly.
Steps To Reproduce
- Install Node.js v22.5.0.
- Install npm v10.8.2.
git clone https://github.com/divviup/divviup-api.git
cd divviup-api/app
git checkout 3edafaefe90795387db3e35a161f3110c3ac3dea
npm ci
Environment
- npm: v10.8.2
- Node.js: v22.5.0
- OS Name: Ubuntu
- System Model Name: Unknown, Azure instance
- npm config:
; node bin location = /opt/hostedtoolcache/node/22.5.0/x64/bin/node
; node version = v22.5.0
; npm local prefix = /home/runner/work/divviup-api/divviup-api/app
; npm version = 10.8.2
; cwd = /home/runner/work/divviup-api/divviup-api/app
; HOME = /home/runner
; Run `npm config ls -l` to show all defaults.
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
(While there are similar issues already open, the wiki page for "exit handler never called" errors recommends opening a new issue, so I am doing so)
I am running into errors when using Node.js v22.5.0 and npm v10.8.2 to install dependencies. In GitHub Actions, I'm seeing an "Exit handler never called!" error. I tried installing the same versions locally, and instead npm never exits -- the packages get installed, but I just see a spinner in the terminal forever. I did not have any issues in CI prior to the release of Node.js v22.5.0. When I use Node.js v20.12.2 and npm v10.8.2 locally, installation completes successfully. Thus, I think some change in Node.js v22.5.0 must be related.
Here's a log file from the error happening in GitHub Actions: 2024-07-17T17_07_43_972Z-debug-0.log. This came from the following run: https://github.com/divviup/divviup-api/actions/runs/9978466717/job/27575428716?pr=1178
Expected Behavior
npm cishould succeed and exit cleanly.Steps To Reproduce
git clone https://github.com/divviup/divviup-api.gitcd divviup-api/appgit checkout 3edafaefe90795387db3e35a161f3110c3ac3deanpm ciEnvironment