Deleted User
Explore posts from serversPPrisma
•Created by Deleted User on 4/19/2025 in #help-and-questions
ReferenceError: __dirname is not defined in ES module scope
I am using Prisma Client with SvelteKit and I am getting this error on builds/preview. I have tried looking up solutions but I could not find a solution. I saw someone saying it should be fixed in Prisma 6.7. Is this true? This issue is preventing my application from working once it is built.
3 replies
CDCloudflare Developers
•Created by Deleted User on 4/17/2025 in #workers-help
Cannot read properties of undefined (reading 'basePath')
I am using Hono with Chanfana with Cloudflare Workers and I can't seem to figure out what is causing the error in the title of this post.
I followed this example for nested routing: https://chanfana.pages.dev/advanced-topics-patterns
However, it just shows that error. I tried using the exact example in the documentation and it still crashes with that error. Does anyone know how to fix this?
1 replies
PPrisma
•Created by Deleted User on 4/8/2025 in #help-and-questions
Schema could not be found after Prisma 6.6.0 update
Before 6.6.0, prisma generate was working completely fine. Now, it isn't able to find the schema file located in ./prisma/schema/schema.prisma
I tried running the command with --schema to specify the location, and then the following is the result of that:
The following is my schema.prisma:
This completely broke Prisma for me and it was working completely fine before this. @prisma/client and prisma are both at version 6.6.0.
Any help would be much appreciated.
7 replies