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 #6449

Open
2 tasks done
GaloisField2718 opened this issue May 14, 2023 · 1 comment
Open
2 tasks done

[BUG] Exit handler never called #6449

GaloisField2718 opened this issue May 14, 2023 · 1 comment
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

Comments

@GaloisField2718
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

After npm install

npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm ERR! Exit handler never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://github.com/npm/cli/issues>

Expected Behavior

install works.

Steps To Reproduce

  1. In this environment : My local env
  2. With this config : MacOS X latest intel
  3. Run 'npm install' from unisat-wallet extension
  4. See error : above

Environment

  • npm: 9.6.6
  • Node.js: 20.0.0
  • OS Name: OS X
  • System Model Name: MacBook Pro
  • npm config:
; "default" config from default values

_auth = (protected) 
access = null 
all = false 
allow-same-version = false 
also = null 
audit = true 
audit-level = null 
auth-type = "web" 
before = null 
bin-links = true 
browser = null 
ca = null 
cache = "/Users/galoisfield/.npm" 
cache-max = null 
cache-min = 0 
cafile = null 
call = "" 
cert = null 
ci-name = null 
cidr = null 
color = true 
commit-hooks = true 
depth = null 
description = true 
dev = false 
diff = [] 
diff-dst-prefix = "b/" 
diff-ignore-all-space = false 
diff-name-only = false 
diff-no-prefix = false 
diff-src-prefix = "a/" 
diff-text = false 
diff-unified = 3 
dry-run = false 
editor = "vi" 
engine-strict = false 
fetch-retries = 2 
fetch-retry-factor = 10 
fetch-retry-maxtimeout = 60000 
fetch-retry-mintimeout = 10000 
fetch-timeout = 300000 
force = false 
foreground-scripts = false 
format-package-lock = true 
fund = true 
git = "git" 
git-tag-version = true 
global = false 
global-style = false 
globalconfig = "/usr/local/etc/npmrc" 
heading = "npm" 
https-proxy = null 
if-present = false 
ignore-scripts = false 
include = [] 
include-staged = false 
include-workspace-root = false 
init-author-email = "" 
init-author-name = "" 
init-author-url = "" 
init-license = "ISC" 
init-module = "/Users/galoisfield/.npm-init.js" 
init-version = "1.0.0" 
init.author.email = "" 
init.author.name = "" 
init.author.url = "" 
init.license = "ISC" 
init.module = "/Users/galoisfield/.npm-init.js" 
init.version = "1.0.0" 
install-links = false 
install-strategy = "hoisted" 
json = false 
key = null 
legacy-bundling = false 
legacy-peer-deps = false 
link = false 
local-address = null 
location = "user" 
lockfile-version = null 
loglevel = "notice" 
logs-dir = null 
logs-max = 10 
; long = false ; overridden by cli
maxsockets = 15 
message = "%s" 
metrics-registry = "https://registry.npmjs.org/" 
node-options = null 
noproxy = [""] 
offline = false 
omit = [] 
omit-lockfile-registry-resolved = false 
only = null 
optional = null 
otp = null 
pack-destination = "." 
package = [] 
package-lock = true 
package-lock-only = false 
parseable = false 
prefer-offline = false 
prefer-online = false 
; prefix = "/usr/local/Cellar/node/20.0.0" ; overridden by builtin
preid = "" 
production = null 
progress = true 
provenance = false 
proxy = null 
read-only = false 
rebuild-bundle = true 
registry = "https://registry.npmjs.org/" 
replace-registry-host = "npmjs" 
save = true 
save-bundle = false 
save-dev = false 
save-exact = false 
save-optional = false 
save-peer = false 
save-prefix = "^" 
save-prod = false 
scope = "" 
script-shell = null 
searchexclude = "" 
searchlimit = 20 
searchopts = "" 
searchstaleness = 900 
shell = "/bin/zsh" 
shrinkwrap = true 
sign-git-commit = false 
sign-git-tag = false 
strict-peer-deps = false 
strict-ssl = true 
tag = "latest" 
tag-version-prefix = "v" 
timing = false 
tmp = "/var/folders/nc/c8vn435x7dj8d_jn16py55_c0000gn/T" 
umask = 0 
unicode = true 
update-notifier = true 
usage = false 
user-agent = "npm/{npm-version} node/{node-version} {platform} {arch} workspaces/{workspaces} {ci}" 
userconfig = "/Users/galoisfield/.npmrc" 
version = false 
versions = false 
viewer = "man" 
which = null 
workspace = [] 
workspaces = null 
workspaces-update = true 
yes = null 

; "builtin" config from /usr/local/lib/node_modules/npm/npmrc

prefix = "/usr/local" 

; "cli" config from command line options

long = true
@GaloisField2718 GaloisField2718 added Bug thing that needs fixing Needs Triage needs review for next steps Release 9.x work is associated with a specific npm 9 release labels May 14, 2023
@vijaysheth1972
Copy link

I am also facing the same issue - npm ERR! Exit handler never called!

This is the log

0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 2ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 2ms
6 timing config:load:builtin Completed in 2ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node.npmrc Completed in 1ms
10 timing config:load:project Completed in 2ms
11 timing config:load:file:C:\Users\vijay.sheth.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:C:\Users\vijay.sheth\AppData\Roaming\npm\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 1ms
16 timing config:load Completed in 7ms
17 timing npm:load:configload Completed in 7ms
18 timing npm:load:mkdirpcache Completed in 0ms
19 timing npm:load:mkdirplogs Completed in 1ms
20 verbose title npm install
21 verbose argv "install"
22 timing npm:load:setTitle Completed in 1ms
23 timing config:load:flatten Completed in 2ms
24 timing npm:load:display Completed in 3ms
25 verbose logfile logs-max:10 dir:C:\Users\vijay.sheth\AppData\Local\npm-cache_logs\2023-05-14T12_41_48_164Z-
26 verbose logfile C:\Users\vijay.sheth\AppData\Local\npm-cache_logs\2023-05-14T12_41_48_164Z-debug-0.log
27 timing npm:load:logFile Completed in 19ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 33ms
31 timing arborist:ctor Completed in 1ms
32 timing idealTree:init Completed in 34ms
33 timing idealTree:userRequests Completed in 0ms
34 silly idealTree buildDeps
35 timing idealTree:#root Completed in 0ms
36 timing idealTree:buildDeps Completed in 1ms
37 timing idealTree:fixDepFlags Completed in 0ms
38 timing idealTree Completed in 37ms
39 silly logfile done cleaning log files
40 timing reify:loadTrees Completed in 41ms
41 timing reify:diffTrees Completed in 1ms
42 silly reify moves {}
43 timing reify:retireShallow Completed in 1ms
44 timing reify:createSparse Completed in 9ms
45 timing reify:loadBundles Completed in 0ms
46 silly audit bulk request {
46 silly audit '@next/env': [ '13.1.1' ],
46 silly audit '@next/swc-android-arm-eabi': [ '13.1.1' ],
46 silly audit '@next/swc-android-arm64': [ '13.1.1' ],
46 silly audit '@next/swc-darwin-arm64': [ '13.1.1' ],
46 silly audit '@next/swc-darwin-x64': [ '13.1.1' ],
46 silly audit '@next/swc-freebsd-x64': [ '13.1.1' ],
46 silly audit '@next/swc-linux-arm-gnueabihf': [ '13.1.1' ],
46 silly audit '@next/swc-linux-arm64-gnu': [ '13.1.1' ],
46 silly audit '@next/swc-linux-arm64-musl': [ '13.1.1' ],
46 silly audit '@next/swc-linux-x64-gnu': [ '13.1.1' ],
46 silly audit '@next/swc-linux-x64-musl': [ '13.1.1' ],
46 silly audit '@next/swc-win32-arm64-msvc': [ '13.1.1' ],
46 silly audit '@next/swc-win32-ia32-msvc': [ '13.1.1' ],
46 silly audit '@next/swc-win32-x64-msvc': [ '13.1.1' ],
46 silly audit '@swc/helpers': [ '0.4.14' ],
46 silly audit asynckit: [ '0.4.0' ],
46 silly audit axios: [ '0.26.1' ],
46 silly audit 'caniuse-lite': [ '1.0.30001441' ],
46 silly audit 'client-only': [ '0.0.1' ],
46 silly audit 'combined-stream': [ '1.0.8' ],
46 silly audit 'delayed-stream': [ '1.0.0' ],
46 silly audit 'follow-redirects': [ '1.15.1' ],
46 silly audit 'form-data': [ '4.0.0' ],
46 silly audit 'js-tokens': [ '4.0.0' ],
46 silly audit 'loose-envify': [ '1.4.0' ],
46 silly audit 'mime-db': [ '1.52.0' ],
46 silly audit 'mime-types': [ '2.1.35' ],
46 silly audit nanoid: [ '3.3.4' ],
46 silly audit next: [ '13.1.1' ],
46 silly audit openai: [ '3.1.0' ],
46 silly audit picocolors: [ '1.0.0' ],
46 silly audit postcss: [ '8.4.14' ],
46 silly audit react: [ '18.2.0' ],
46 silly audit 'react-dom': [ '18.2.0' ],
46 silly audit scheduler: [ '0.23.0' ],
46 silly audit 'source-map-js': [ '1.0.2' ],
46 silly audit 'styled-jsx': [ '5.1.1' ],
46 silly audit tslib: [ '2.4.1' ]
46 silly audit }
47 verbose reify failed optional dependency C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules@next\swc-win32-ia32-msvc
48 silly reify mark deleted [
48 silly reify 'C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules\@next\swc-win32-ia32-msvc'
48 silly reify ]
49 verbose reify failed optional dependency C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules@next\swc-win32-arm64-msvc
50 silly reify mark deleted [
50 silly reify 'C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules\@next\swc-win32-arm64-msvc'
50 silly reify ]
51 verbose reify failed optional dependency C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules@next\swc-linux-x64-musl
52 silly reify mark deleted [
52 silly reify 'C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules\@next\swc-linux-x64-musl'
52 silly reify ]
53 verbose reify failed optional dependency C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules@next\swc-linux-x64-gnu
54 silly reify mark deleted [
54 silly reify 'C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules\@next\swc-linux-x64-gnu'
54 silly reify ]
55 verbose reify failed optional dependency C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules@next\swc-linux-arm64-musl
56 silly reify mark deleted [
56 silly reify 'C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules\@next\swc-linux-arm64-musl'
56 silly reify ]
57 verbose reify failed optional dependency C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules@next\swc-linux-arm64-gnu
58 silly reify mark deleted [
58 silly reify 'C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules\@next\swc-linux-arm64-gnu'
58 silly reify ]
59 verbose reify failed optional dependency C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules@next\swc-linux-arm-gnueabihf
60 silly reify mark deleted [
60 silly reify 'C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules\@next\swc-linux-arm-gnueabihf'
60 silly reify ]
61 verbose reify failed optional dependency C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules@next\swc-freebsd-x64
62 silly reify mark deleted [
62 silly reify 'C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules\@next\swc-freebsd-x64'
62 silly reify ]
63 verbose reify failed optional dependency C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules@next\swc-darwin-x64
64 silly reify mark deleted [
64 silly reify 'C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules\@next\swc-darwin-x64'
64 silly reify ]
65 verbose reify failed optional dependency C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules@next\swc-darwin-arm64
66 silly reify mark deleted [
66 silly reify 'C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules\@next\swc-darwin-arm64'
66 silly reify ]
67 verbose reify failed optional dependency C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules@next\swc-android-arm64
68 silly reify mark deleted [
68 silly reify 'C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules\@next\swc-android-arm64'
68 silly reify ]
69 verbose reify failed optional dependency C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules@next\swc-android-arm-eabi
70 silly reify mark deleted [
70 silly reify 'C:\Users\vijay.sheth\Documents\GitHub\openai-quickstart-node\node_modules\@next\swc-android-arm-eabi'
70 silly reify ]
71 timing reifyNode:node_modules/@next/swc-win32-ia32-msvc Completed in 9ms
72 timing reifyNode:node_modules/@next/swc-win32-arm64-msvc Completed in 9ms
73 timing reifyNode:node_modules/@next/swc-linux-x64-musl Completed in 9ms
74 timing reifyNode:node_modules/@next/swc-linux-x64-gnu Completed in 9ms
75 timing reifyNode:node_modules/@next/swc-linux-arm64-musl Completed in 9ms
76 timing reifyNode:node_modules/@next/swc-linux-arm64-gnu Completed in 9ms
77 timing reifyNode:node_modules/@next/swc-linux-arm-gnueabihf Completed in 10ms
78 timing reifyNode:node_modules/@next/swc-freebsd-x64 Completed in 10ms
79 timing reifyNode:node_modules/@next/swc-darwin-x64 Completed in 10ms
80 timing reifyNode:node_modules/@next/swc-darwin-arm64 Completed in 10ms
81 timing reifyNode:node_modules/@next/swc-android-arm64 Completed in 10ms
82 timing reifyNode:node_modules/@next/swc-android-arm-eabi Completed in 10ms
83 silly tarball no local data for tslib@https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz. Extracting by manifest.
84 silly tarball no local data for styled-jsx@https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.1.tgz. Extracting by manifest.
85 silly tarball no local data for source-map-js@https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz. Extracting by manifest.
86 silly tarball no local data for scheduler@https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz. Extracting by manifest.
87 silly tarball no local data for react-dom@https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz. Extracting by manifest.
88 silly tarball no local data for react@https://registry.npmjs.org/react/-/react-18.2.0.tgz. Extracting by manifest.
89 silly tarball no local data for postcss@https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz. Extracting by manifest.
90 silly tarball no local data for picocolors@https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz. Extracting by manifest.
91 silly tarball no local data for openai@https://registry.npmjs.org/openai/-/openai-3.1.0.tgz. Extracting by manifest.
92 silly tarball no local data for next@https://registry.npmjs.org/next/-/next-13.1.1.tgz. Extracting by manifest.
93 silly tarball no local data for nanoid@https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz. Extracting by manifest.
94 silly tarball no local data for mime-types@https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz. Extracting by manifest.
95 silly tarball no local data for mime-db@https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz. Extracting by manifest.
96 silly tarball no local data for loose-envify@https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz. Extracting by manifest.
97 silly tarball no local data for js-tokens@https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz. Extracting by manifest.
98 silly tarball no local data for form-data@https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz. Extracting by manifest.
99 silly tarball no local data for follow-redirects@https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz. Extracting by manifest.
100 silly tarball no local data for delayed-stream@https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz. Extracting by manifest.
101 silly tarball no local data for combined-stream@https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz. Extracting by manifest.
102 silly tarball no local data for client-only@https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz. Extracting by manifest.
103 silly tarball no local data for caniuse-lite@https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001441.tgz. Extracting by manifest.
104 silly tarball no local data for asynckit@https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz. Extracting by manifest.
105 silly tarball no local data for axios@https://registry.npmjs.org/axios/-/axios-0.26.1.tgz. Extracting by manifest.
106 silly tarball no local data for @swc/helpers@https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.14.tgz. Extracting by manifest.
107 silly tarball no local data for @next/swc-win32-x64-msvc@https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.1.1.tgz. Extracting by manifest.
108 silly tarball no local data for @next/env@https://registry.npmjs.org/@next/env/-/env-13.1.1.tgz. Extracting by manifest.
109 silly audit bulk request failed undefined
110 timing npm Completed in 13710ms
111 verbose unfinished npm timer command:install 1684068108219
112 verbose unfinished npm timer reify 1684068108222
113 verbose unfinished npm timer reify:audit 1684068108319
114 verbose unfinished npm timer auditReport:getReport 1684068108319
115 verbose unfinished npm timer reify:unpack 1684068108324
116 verbose unfinished npm timer reifyNode:node_modules/tslib 1684068108324
117 verbose unfinished npm timer reifyNode:node_modules/styled-jsx 1684068108324
118 verbose unfinished npm timer reifyNode:node_modules/source-map-js 1684068108324
119 verbose unfinished npm timer reifyNode:node_modules/scheduler 1684068108324
120 verbose unfinished npm timer reifyNode:node_modules/react-dom 1684068108324
121 verbose unfinished npm timer reifyNode:node_modules/react 1684068108324
122 verbose unfinished npm timer reifyNode:node_modules/postcss 1684068108324
123 verbose unfinished npm timer reifyNode:node_modules/picocolors 1684068108324
124 verbose unfinished npm timer reifyNode:node_modules/openai 1684068108324
125 verbose unfinished npm timer reifyNode:node_modules/next 1684068108324
126 verbose unfinished npm timer reifyNode:node_modules/nanoid 1684068108324
127 verbose unfinished npm timer reifyNode:node_modules/mime-types 1684068108324
128 verbose unfinished npm timer reifyNode:node_modules/mime-db 1684068108324
129 verbose unfinished npm timer reifyNode:node_modules/loose-envify 1684068108324
130 verbose unfinished npm timer reifyNode:node_modules/js-tokens 1684068108324
131 verbose unfinished npm timer reifyNode:node_modules/form-data 1684068108325
132 verbose unfinished npm timer reifyNode:node_modules/follow-redirects 1684068108325
133 verbose unfinished npm timer reifyNode:node_modules/delayed-stream 1684068108325
134 verbose unfinished npm timer reifyNode:node_modules/combined-stream 1684068108325
135 verbose unfinished npm timer reifyNode:node_modules/client-only 1684068108325
136 verbose unfinished npm timer reifyNode:node_modules/caniuse-lite 1684068108325
137 verbose unfinished npm timer reifyNode:node_modules/axios 1684068108325
138 verbose unfinished npm timer reifyNode:node_modules/asynckit 1684068108325
139 verbose unfinished npm timer reifyNode:node_modules/@swc/helpers 1684068108325
140 verbose unfinished npm timer reifyNode:node_modules/@next/swc-win32-x64-msvc 1684068108325
141 verbose unfinished npm timer reifyNode:node_modules/@next/env 1684068108325
142 info ok
143 error Exit handler never called!
144 error This is an error with npm itself. Please report this error at:
145 error https://github.com/npm/cli/issues
146 error A complete log of this run can be found in: C:\Users\vijay.sheth\AppData\Local\npm-cache_logs\2023-05-14T12_41_48_164Z-debug-0.log

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 9.x work is associated with a specific npm 9 release
Projects
None yet
Development

No branches or pull requests

2 participants