qode
PPrisma
•Created by qode on 4/10/2025 in #help-and-questions
panicked at query-engine\query-engine-node-api\src\engine. Failed to deserialize constructor options
And then removing the
postinstall
and bundling in package.json
, replacing it with prepare
script.
8 replies
PPrisma
•Created by qode on 4/10/2025 in #help-and-questions
panicked at query-engine\query-engine-node-api\src\engine. Failed to deserialize constructor options
Fixed: the issue was that when other projects use my prisma package. they install the latest version of
@prisma/client
as dep which is incompatible with the package version.
there are many fixes. but i went for setting up custom output for the prisma client in the package at ./prisma/generated/client
.
Then i edit shema.prisma
to:
8 replies