does anyone know why my app crashes whenever i deploy it?
ralyodio
HOBBYOP

17 days ago

Its a next.js app and its always crashing when i deploy a new version, none of my other apps do this.

Solved$10 Bounty

Pinned Solution

sonia_
FREETop 5% Contributor

16 days ago

Newer versions of nextjs use pnpm whoose lock files create issue in railway. So I always remove pnpm-workspace.yaml & pnpm-lock.yaml files. After this it works perfectly.

2 Replies

Can you provide build or deploy logs?


sonia_
FREETop 5% Contributor

16 days ago

Newer versions of nextjs use pnpm whoose lock files create issue in railway. So I always remove pnpm-workspace.yaml & pnpm-lock.yaml files. After this it works perfectly.


Status changed to Solved medim 12 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...