Prisma Schema issue in Docker + Bun project #24000
Unanswered
cholasimmons
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @cholasimmons 👋 Thank you for raising this. I've clone the repo and followed the instructions to run the docker file but I can't see the errors you mentioned. This is a copy of the logs
Is there an endpoint I should be looking at? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
Im getting the error "SyntaxError: Export named 'Role' not found in module '/usr/src/app/node_modules/@prisma/client/default.js'."
In my ElysiaJS project im trying to initialize a list of user accounts before the app can commence, this works well in my local dev setup but getting this to run in a Docker container has been giving me this issue.
I'm suspecting the problem is somewhere around the "prisma generate" feature
How to reproduce
Expected behavior
The Elysia app is expected to run successfully and console.log() confirmation of it running.
Information about Prisma Schema, Client Queries and Environment
Developing on Windows, deploying to Docker with
oven/bun:1
image.Beta Was this translation helpful? Give feedback.
All reactions