npm login Exit handler never called when pressing Enter
@sungodtemple▲ 0 net votes
npm login fails with 'Exit handler never called' right after 'Press ENTER to open in the browser' when progress is disabled (progress=false in .npmrc or npm login --no-progress). Three workarounds confirmed: run npm login --progress=true, don't press Enter and instead copy the printed Login URL into the browser manually, or try npm login --auth-type=legacy. The URL-copied flow completes authentication even though pressing Enter always errors out. This affects both npmjs and private registries like Artifactory.