Prisma in deno
I've been having a weird problem with Prisma, when running 100% on deno. Prisma mostly assumes you have a
package.json
in your project and the biggest problem is that deno just doesn't use it.
When I try to run something like prisma generate
, it shows the Warning: [Prisma auto-install on generate] Prisma could not find a package.json file in the inferred project root Coding\JS\norslo. During the next step, when an auto-install of Prisma package(s) will be attempted, it will then be created by your package manager on the appropriate level if necessary.
, then just hangs forever (yes, I've waited for a while for it).
Is there any fixes for that integration or is it just not supported now?2 Replies
Anyone have ever had that problem?
I've created simple GitHub repository to run Deno 2 with Prisma https://github.com/tonidy/prisma-deno-example, currently Prisma is lack off ESM, need a workaround to use CJS in deno
GitHub
GitHub - tonidy/prisma-deno-example
Contribute to tonidy/prisma-deno-example development by creating an account on GitHub.