Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
When running npm install inside my project, npm crashes with the following error:
npm ERR! Exit handler never called!
npm ERR! This is an error with npm itself.
A complete log of this run can be found in:
C:\Users\HP\AppData\Local\npm-cache_logs\2026-05-21T13_55_44_768Z-debug-0.log
The installation stops immediately and dependencies are not installed.
Expected Behavior
npm install should install all dependencies successfully without crashing.
Steps To Reproduce
- Open PowerShell
- Navigate to the project directory
- Run:
npm install
- npm crashes with "Exit handler never called"
Environment
node -v
npm -v
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
When running
npm installinside my project, npm crashes with the following error:npm ERR! Exit handler never called!
npm ERR! This is an error with npm itself.
A complete log of this run can be found in:
C:\Users\HP\AppData\Local\npm-cache_logs\2026-05-21T13_55_44_768Z-debug-0.log
The installation stops immediately and dependencies are not installed.
Expected Behavior
npm install should install all dependencies successfully without crashing.
Steps To Reproduce
npm install
Environment
node -v
npm -v