Skip to content

Fly deploy restart loop due to Prisma error #995

Closed Answered by kentcdodds
zachfedor asked this question in Q&A
Discussion options

You must be logged in to vote

If you deleted that directory because you're not using any SQL queries, then you need to remove the --sql flag from your Prisma commands. They appear in a couple of places.

- cmd: npx prisma generate --sql

"setup": "npm run build && prisma migrate deploy && prisma generate --sql && playwright install",

run: npx prisma migrate deploy && npx prisma generate --sql

run: npx prisma migrate deploy && npx prisma generate --sql

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by zachfedor
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #994 on April 17, 2025 16:58.