[BUG] Exit handler never called during one-time lock update #6017
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 9.x
work is associated with a specific npm 9 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Npm old lockfile and told to report bug here, to be fair I'm going off YouTube videos of how to install live server in termux
Here the link for the YouTube
https://youtu.be/_zrTZphAaAk
Here's the guy's github
https://github.com/ProjectsByJackHe/airshare
Termux cloned site gh termux
Apt install nodejs -y
Cd in airshare npm install
These are the logs from the error
29 timing npm:load:logFile Completed in 12ms
30 timing npm:load:timers Completed in 0ms
31 timing npm:load:configScope Completed in 0ms
32 timing npm:load Completed in 74ms
33 timing arborist:ctor Completed in 2ms
34 silly logfile done cleaning log files
35 timing idealTree:init Completed in 310ms
36 warn old lockfile
36 warn old lockfile The package-lock.json file was cr
eated with an old version of npm,
36 warn old lockfile so supplemental metadata must be
fetched from the registry.
36 warn old lockfile
36 warn old lockfile This is a one-time fix-up, please
be patient...
36 warn old lockfile
37 timing npm Completed in 925ms
38 verbose unfinished npm timer command:install 167268
3037758
39 verbose unfinished npm timer reify 1672683037765
40 verbose unfinished npm timer reify:loadTrees 167268
3037784
41 verbose unfinished npm timer idealTree 167268303778
6
42 verbose unfinished npm timer idealTree:inflate 1672
683038098
43 info ok
44 error Exit handler never called!
45 error This is an error with npm itself. Please repo
rt this error at:
46 error https://github.com/npm/cli/issues
47 error A complete log of this run can be found in:
47 error /data/data/com.termux/files/home/.npm/_lo
gs/2023-01-02T18_10_37_328Z-debug-0.log
Expected Behavior
The video said npm install then npmstart would launch the live server
Steps To Reproduce
// /* see current behavior*/ //
Environment
The text was updated successfully, but these errors were encountered: