#Deployment keeps crashing (nextjs)
40 messages · Page 1 of 1 (latest)
oh yea, in future can you provide more context on posts (we dont pick up one-line questions cuz its hard to debug with no info)
but yeah, can you send your build logs
Apologies^
Currently, im trying to mess around with things to try avoid oom error
but now its stuck here
you should really never get an OOM at build-time
it used to be always crashing during linting
can you send the full build and deploy logs?
no, we cant look up logs by id
> [email protected] build
> npm run dp && next build
npm WARN config production Use `--omit=dev` instead.
> [email protected] dp
> npx prisma db pull && npx prisma generate
npm WARN config production Use `--omit=dev` instead.
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "db.qmlmesrdritgsdddstym.supabase.co:5432"
- Introspecting based on datasource defined in prisma/schema.prisma
✔ Introspected 9 models and wrote them into prisma/schema.prisma in 5.75s
Run prisma generate to generate Prisma Client.
npm WARN config production Use `--omit=dev` instead.
Prisma schema loaded from prisma/schema.prisma
✔ Generated Prisma Client (4.0.0 | library) to ./node_modules/@prisma/client in 199ms
You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client
``
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
``
info - Skipping validation of types
info - Linting...
deploy logs^
if you paste a long log thing discord makes it a file automatically btw
Ah never knew that! Apologies again
deploy logs^
huh thats.. not supposed to be running on deploy
oh
ehm
build logs lint and build just fine
is this an issue?
I suppose im doing this wrong
OH wait I think I get it now,, -- am I supposed to just run the start command (since its already built from the build logs)?
you can leave that empty
👍
woa that worked just fine
Thank you so much!^^
great to hear!
How do I close this?