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
-
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.
error
application/app/(route)/nft/list/page.tsx
application/app/api/(controller)/nft/list/route.ts
application/app/api/service/nft/list.ts
application/app/api/repository/nft.ts
Beta Was this translation helpful? Give feedback.
All reactions