PrismaP
Prisma7mo ago
7 replies
pterosaurs

Cannot access Prisma database

Hello, I'm currently using Prisma Postgres with Accelerate. It was fine accessing the database until yesterday afternoon. It seems to be a Prisma Client error on the build script. The error message is as follows:
Message: Error in Prisma Client request: 


Invalid `STUDIO_EMBED_BUILD<"u"&&STUDIO_EMBED_BUILD?o$e():require(`${l.prismaClient}/runtime/${c}`),R=e,L=(0,MV.createHash)("sha256").update()` invocation in
/[my_project_path]/node_modules/prisma/build/index.js:4807:10635

... (full error message in file)


These are what I have tried:
- reinstalled @prisma/client and @prisma/extension-accelerate
- deleted node_modules and reinstalled everything
- cloned the repository again
- cloned the repository again on Linux Mint (I encountered the error on Windows 11, but it still occurs even on Linux Mint)

My team member has the exact same laptop configurations, Node version, and all package versions. I have checked the database URL in .env file to be exactly the same as hers. She can access the database from her laptop while I cannot from both of my Windows and Linux Mint laptops. Anyone has any thoughts on why this is happening?
image.png
image.png
image.png
Was this page helpful?