Skip to content

[BUG] Exit handler never called! When trying to install code-server #5841

@VenomousSteam81

Description

@VenomousSteam81

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 trying to install code-server with npm i code-server --unsafe-perm, I get Exit handler never called!

Expected Behavior

code-server should install normally. The first time I tried it installed fine, but I removed my package.json, package-lock.json, and node_modules/ and made a directory called code-server/. Now installing into the code-server/ and my home dir results in the same error.

Steps To Reproduce

  1. In CLI...
  2. Default Config
  3. Run 'npm i code-server --unsafe-perm'
  4. See Exit handler never called!

Environment

  • npm: 8.19.2
  • Node.js: 16.18.1
  • OS Name: Termux
  • System Model Name: Android
  • npm config:
~ $ npm config ls
; node bin location = /data/data/com.termux/files/usr/bin/node
; node version = v16.18.1
; npm local prefix = /data/data/com.termux/files/home
; npm version = 8.19.2
; cwd = /data/data/com.termux/files/home
; HOME = /data/data/com.termux/files/home
; Run `npm config ls -l` to show all defaults.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds review for next stepsRelease 8.xwork is associated with a specific npm 8 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions