PrismaP
Prisma3mo ago
5 replies
Lunorien

Failed to parse config file at "./prisma.config.ts" when using an adapter

I followed this guide exactly: https://www.prisma.io/docs/guides/cloudflare-d1
and on step 4.3, I get the error:

Failed to parse syntax of config file at "./prisma.config.ts"

I tried changing the env variables to hard coded strings to see if that was the issue, but same error.
Learn how to use Prisma ORM with Cloudflare D1
How to use Prisma ORM with Cloudflare D1 | Prisma Documentation
Was this page helpful?