Type error: Module '"@prisma/client"' has no exported member #22980
Unanswered
morganwestcoding
asked this question in
Q&A
Replies: 1 comment 5 replies
-
I resolved this but can you please help me out with this issue |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug description
trying to run docker build . with this repository
When i run it It goes to step => ERROR [6/6] RUN npm run build
Then I get this error:
I've checked my node modules and the models are in
node_modules/.prisma/client/index.d.ts
in my
node_modules/@prisma/client/index.d.ts
I haveexport * from '.prisma/client/default'
Can someone please help me i've been trying to resolve this for days, and extra points if you help me succsessfully launc
docker build . and help me deploy to vercel
I've removed my node modules and package-lock.json and npm installed
I've tried npx prisma generate
Nothing has worked and i am still getting this error
How to reproduce
Expected behavior
I expected the docker build . to successfully create a container image so i can deploy to vercel.
Prisma information
Environment & setup
MacOS
MongoDb
Node 18.x
Prisma Version
Beta Was this translation helpful? Give feedback.
All reactions