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]: TypeError [ERR_INVALID_ARG_TYPE] in node application #2129

Open
1 task done
shivamsouravjha opened this issue Jul 24, 2024 · 4 comments
Open
1 task done

[bug]: TypeError [ERR_INVALID_ARG_TYPE] in node application #2129

shivamsouravjha opened this issue Jul 24, 2024 · 4 comments
Labels
bug Something isn't working HACKTOBERFEST2024 Issues part of 2024 Hacktoberfest keploy

Comments

@shivamsouravjha
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

  • While running my node 20 application I face the error of
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> (/usr/lib/node_modules/nyc/node_modules/foreground-child/index.js:63:22)
    at ChildProcess.emit (node:events:519:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
  code: 'ERR_INVALID_ARG_TYPE'
}

Steps to reproduce

Environment

None

Version

Cloud

Repository

keploy

@shivamsouravjha shivamsouravjha added the bug Something isn't working label Jul 24, 2024
@shivamsouravjha shivamsouravjha changed the title [bug]: TypeError [ERR_INVALID_ARG_TYPE] [bug]: TypeError [ERR_INVALID_ARG_TYPE] in node application Jul 24, 2024
@shreyashrpawar
Copy link

I like to work on this issue for KROC

@shivamsouravjha
Copy link
Contributor Author

Hey @shreyashrpawar this isn't a KROC issue, I've duly removed the tag.

The issue as mentioned is in on of the dependencies of NYC.

@sratslla
Copy link
Contributor

sratslla commented Aug 2, 2024

Works fine on Node 18, just run-

nvm install 18

nvm use 18

@shivamsouravjha
Copy link
Contributor Author

the issue is on node 20 , and since many keploy users might face the same , we've linked it here and redirected as to avoid any confusion.

@Swpn0neel Swpn0neel added the HACKTOBERFEST2024 Issues part of 2024 Hacktoberfest label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working HACKTOBERFEST2024 Issues part of 2024 Hacktoberfest keploy
Projects
None yet
Development

No branches or pull requests

4 participants