Open NathanFlurry opened 1 month ago
Symptoms
Unable to reproduce consistently
When running opengb dev (I think always it's for the first time off of a clean build), it produces this error:
opengb dev
error: Failed to run: prisma generate stdout: Prisma schema loaded from schema.prisma Prisma schema loaded from schema.prisma stderr: node:events:497 throw er; // Unhandled 'error' event ^ Error: ENOENT: no such file or directory, open '/prisma/node_modules/prisma/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node' Emitted 'error' event on ReadStream instance at: at emitErrorNT (node:internal/streams/destroy:169:8) at emitErrorCloseNT (node:internal/streams/destroy:128:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'open', path: '/prisma/node_modules/prisma/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node' } Node.js v21.7.3 node:events:497 throw er; // Unhandled 'error' event ^ Error: ENOENT: no such file or directory, open '/prisma/node_modules/prisma/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node' Emitted 'error' event on ReadStream instance at: at emitErrorNT (node:internal/streams/destroy:169:8) at emitErrorCloseNT (node:internal/streams/destroy:128:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'open', path: '/prisma/node_modules/prisma/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node' } Node.js v21.7.3
Solution
Running opengb dev again works the second time.
OGBE-108 `prisma generate` sporadically fails
Symptoms
Unable to reproduce consistently
When running
opengb dev
(I think always it's for the first time off of a clean build), it produces this error:Solution
Running
opengb dev
again works the second time.