Repository navigation
Error Assertion `args[3]->IsInt32()' failed #35582
Description
Activity
I'm with the same issue.
cc @nodejs/http @nodejs/llnode
@devsnek unavailable...
Maybe a dup of #35572?
Reacted by Nikita SkovorodaI think the root cause is following backport PR: #34131 which changes the API of the
HTTPParser. The API is internal but it looks like it's used by some modules and they pass more then the expected number of arguments which is no longer ignored.See also prisma/prisma-client-js#907 and nodejs/undici#448
Reacted by Nikita Skovoroda and Anna Henningsenhttps://github.com/nodejs/undici/blob/master/lib/node/http-parser.js#L3-L4 — caused by using the internal API directly.
Usage of that API should be fixed inundici@2.0.7: nodejs/undici#448 (comment)Could you confirm that resolving
undicito 2.0.7 helps?For now I'm downgrading my node version to
v12.18.4until the bug is fixed. It's work properly when you use nodev12.18.4.
Thank you all about the replies, hopefully it will be fixed soon.Reacted by felix28From the available information, it doesn't look like a bug in Node.js.
Let's close this as a duplicate of #35572, as it's unlikely that any new information will be present here.
I'll reopen if there will be any new info hinting that's not the case.Reacted by Wahyu Kurniawan- addedduplicateIssues and PRs that are duplicates of other issues or PRs.Issues and PRs that are duplicates of other issues or PRs.
on Oct 11, 2020 It was confirmed in #35572 that using a fixed version of
undicihelps.- addedwrong repoIssues that should be opened in another repository.Issues that should be opened in another repository.
on Oct 12, 2020 Prisma Issue
- nodejs 16.13.1
- @prisma/client ^2.13.1
- Windows 10
For me it was a problem after upgrade to node 16.13.1
Now I use nvm for Windows, and with node 14.8.0 it works again.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
prisma generateall againReacted by Jan Killian
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.tsorts-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.tsusingnode src/script.tsandts-node src/script.tsbut show the following error:Additional information
This is my
package.jsonfile: