-
-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Description
Version
-
node v20.8.0
When
- sometimes, not reproducible
Error
-
100% CPU, guess somehow dead loop
-
After Ctrl-C
TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('128SIGINT')
at process.set [as exitCode] (node:internal/bootstrap/node:123:9)
at ChildProcess.<anonymous> (/home/vscode/.yarn/berry/cache/foreground-child-npm-2.0.0-80c976b61e-8.zip/node_modules/foreground-child/index.js:63:22)
at ChildProcess.emit (node:events:514:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
code: 'ERR_INVALID_ARG_TYPE'
}
Node.js v20.8.0
Related
Maybe caused by below line.
Line 63 in efba8bb
process.exitCode = signal ? 128 + signal : code |
The signal
should be null
or some const string.
Metadata
Metadata
Assignees
Labels
No labels