#Deployment keeps crashing (nextjs)

40 messages · Page 1 of 1 (latest)

stiff grotto
#

In the build process, it keeps showing "Killed"

rich granite
#

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

stiff grotto
#

Currently, im trying to mess around with things to try avoid oom error

#

but now its stuck here

rich granite
#

you should really never get an OOM at build-time

stiff grotto
#

it used to be always crashing during linting

rich granite
#

can you send the full build and deploy logs?

stiff grotto
#

would project id work?

#

since the log is long

rich granite
#

no, we cant look up logs by id

stiff grotto
#
> [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^

rich granite
#

if you paste a long log thing discord makes it a file automatically btw

stiff grotto
rich granite
#

ah okay

#

could you send package.json

#

i think i know what's wrong

stiff grotto
rich granite
#

or deploy

stiff grotto
#

deploy logs^

rich granite
#

huh thats.. not supposed to be running on deploy

stiff grotto
#

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)?

rich granite
#

you can leave that empty

stiff grotto
#

alright hold on

#

Will let you know back once it deploys^

rich granite
#

👍

stiff grotto
#

woa that worked just fine

stiff grotto
rich granite
#

great to hear!

stiff grotto
#

How do I close this?