getting error "prisma:error Must call super constructor ..." at a simple insert
So, I get this error "prisma:error Must call super constructor in derived class before accessing 'this' or returning from derived constructor" when doing this insert:
The formData looks like this:
And the model in schema has all those fields and then some
The
.
Now github's copilot and gemini from Microsoft couldn't come up with a working solution/workaround, and neither did google search results.
My environment:
Node 22.14,
Prisma:
Do you have any ideas what could be wrong or how I can fix this?
The formData looks like this:
And the model in schema has all those fields and then some
The
prisma variable seems to be instantiated&configured correctly, because this query, which is in the same function, above the erroring one, returns successfully:.
Now github's copilot and gemini from Microsoft couldn't come up with a working solution/workaround, and neither did google search results.
My environment:
Node 22.14,
Prisma:
Do you have any ideas what could be wrong or how I can fix this?