P
Prismaโ€ข3d ago
HEALER

Error @prisma/client did not initialize yet. Please run "prisma generate" on gitlab-ci.yml

hello im using bun.sh and prisma on my project , when im create ci/cd for deploy to my server i got an error Error @prisma/client did not initialize yet. Please run "prisma generate" # Stage 2: Build application build: stage: build image: oven/bun:alpine script: - bun --version - bun install - bunx prisma generate - bun run src/index.ts dependencies: - install artifacts: paths: - dist/ expire_in: 1 day everything normal on my local computers
3 Replies
Nurul
Nurulโ€ข3d ago
Hello @HEALER ๐Ÿ‘‹ Did you check this issue? https://github.com/prisma/prisma/issues/21241 It is similar to what you are observing. Can you add node in your docker image and try again?
GitHub
Bun: Can't prisma generate on Docker ยท Issue #21241 ยท prisma/pri...
Bug description Trying to running prisma generate inside Docker container build, but it does not happen. See console output: It started some Prisma engine downloading, but gives up in about 1~2 sec...
HEALER
HEALEROPโ€ข2d ago
oh thank you, im using imbios/bun and worked
Nurul
Nurulโ€ข2d ago
I am glad to hear that! ๐Ÿ™‚
Want results from more Discord servers?
Add your server