Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 tasks done
VenomousSteam81 opened this issue Nov 10, 2022 · 2 comments
Closed
2 tasks done
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 8.x work is associated with a specific npm 8 release

Comments

@VenomousSteam81
Copy link

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.
@VenomousSteam81 VenomousSteam81 added Bug thing that needs fixing Needs Triage needs review for next steps Release 8.x work is associated with a specific npm 8 release labels Nov 10, 2022
@VenomousSteam81
Copy link
Author

VenomousSteam81 commented Nov 10, 2022

error log: https://pastebin.com/KxZzWnZq

@VenomousSteam81
Copy link
Author

Ok, uninstalling and reinstalling NodeJS helped solve my problem. Closing this one out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 8.x work is associated with a specific npm 8 release
Projects
None yet
Development

No branches or pull requests

1 participant