mdcarter
mdcarter
PPrisma
Created by mdcarter on 1/13/2025 in #help-and-questions
Delete annoying warning in production
Any ideas for this ? 🙂
10 replies
PPrisma
Created by mdcarter on 1/13/2025 in #help-and-questions
Delete annoying warning in production
My script for generate which is run before starting my app :
"db:generate": "PRISMA_DISABLE_WARNINGS=1 prisma generate --sql --no-hints",
"db:generate": "PRISMA_DISABLE_WARNINGS=1 prisma generate --sql --no-hints",
10 replies
PPrisma
Created by mdcarter on 1/13/2025 in #help-and-questions
Delete annoying warning in production
✓ Starting...
✓ Compiled in 555ms
✓ Ready in 1356ms
prisma:warn In production, we recommend using `prisma generate --no-engine` (See: `prisma generate --help`)
○ Compiling /authenticate ...
✓ Compiled /authenticate in 1232ms
prisma:warn In production, we recommend using `prisma generate --no-engine` (See: `prisma generate --help`)
POST /authenticate 200 in 2033ms
POST /authenticate 200 in 69ms
✓ Starting...
✓ Compiled in 555ms
✓ Ready in 1356ms
prisma:warn In production, we recommend using `prisma generate --no-engine` (See: `prisma generate --help`)
○ Compiling /authenticate ...
✓ Compiled /authenticate in 1232ms
prisma:warn In production, we recommend using `prisma generate --no-engine` (See: `prisma generate --help`)
POST /authenticate 200 in 2033ms
POST /authenticate 200 in 69ms
10 replies
PPrisma
Created by mdcarter on 1/13/2025 in #help-and-questions
Delete annoying warning in production
Yeah generate does not give me any issues, it's the client
10 replies
PPrisma
Created by mdcarter on 1/13/2025 in #help-and-questions
Delete annoying warning in production
Neither of these solutions work sadly (I tested them)
10 replies