-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Error Assertion `args[3]->IsInt32()' failed #35582
Comments
I'm with the same issue. |
cc @nodejs/http @nodejs/llnode |
@devsnek unavailable... |
Maybe a dup of #35572? |
I think the root cause is following backport PR: #34131 which changes the API of the See also prisma/prisma-client-js#907 and nodejs/undici#448 |
https://github.com/nodejs/undici/blob/master/lib/node/http-parser.js#L3-L4 — caused by using the internal API directly. Could you confirm that resolving |
For now I'm downgrading my node version to |
From the available information, it doesn't look like a bug in Node.js. |
It was confirmed in #35572 that using a fixed version of |
Prisma Issue
For me it was a problem after upgrade to node 16.13.1 The problem is when you start and generate all the prisma schema with some version and then you change it. If you want to keep your node updated you probably need to |
What steps will reproduce the bug?
I tried to follow the tutorial from Adding a Database to GraphQL, this is the code of my
script.ts
:How often does it reproduce? Is there a required condition?
Everytime when I run it using
node src/script.ts
orts-node src/script.ts
.The requirements:
What is the expected behavior?
Show all links from the database using prisma client.
What do you see instead?
I tried to run the
script.ts
usingnode src/script.ts
andts-node src/script.ts
but show the following error:Additional information
This is my
package.json
file:The text was updated successfully, but these errors were encountered: