PrismaP
Prisma7mo ago
7 replies
Charlie

npx prisma generate --no-engine, breaking nextjs build

HI guys. Just started with accelerate + postgres. Reading the documentation we should be using npx prisma generate --no-engine to minize package size. However during the ci build (nextjs) after generate. We are seeing a error saying:

Error: ENOENT: no such file or directory, lstat '/home/runner/work/gauge-mono/gauge-mono/node_modules/.pnpm/@prisma+client@6.11.1_prisma@6.11.1_typescript@5.8.2__typescript@5.8.2/node_modules/.prisma/client/libquery_engine-debian-openssl-3.0.x.so.node'


wonder how we can get around it?

Thank you.
Was this page helpful?