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 have found a workaround to this. I replaced all occurrences of __dirname in the build directory with import.meta.url
However, this is a bandaid solution and I would appreciate if there was an official way of fixing this.
4 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
Hi, thanks for your response. I was just able to fix it now by explicitly adding the schema folder into my config.
7 replies