I want to use Prisma at build time to avoid accessing the DB. #74233
Unanswered
ka-sasaki-sti
asked this question in
App Router
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am developing in Prisma, Next.js v14.
I am going to access the DB when I do the following program next build.
But in the Build stage, DB does not exist and I want to avoid accessing the DB server.
Why execute prisma?
How can I do this?
The following is the source code for reference.
errorapplication/app/(route)/nft/list/page.tsxapplication/app/api/(controller)/nft/list/route.tsapplication/app/api/service/nft/list.tsapplication/app/api/repository/nft.tsBeta Was this translation helpful? Give feedback.
All reactions