Buld failing exclusively on Railway w/ pnpm v10
austinkettner
PROOP

10 months ago

On both of my recent deploys I am getting failures to build with zero debugging information. However, the same environment locally yields no build errors, leading me to believe something deeper in Railway is leading to this related to Railpacks.

Both are in Develop Environment currently.

In API

/app/apps/api:

 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  xxxx-api@3.1.0 build: rimraf build && tsc && prisma generate && yarn sentry:sourcemaps

Exit status 1

In Web

Failed to compile.
./src/pages/admin/news/[id].tsx

Module not found: Can't resolve '../../../components/editor/lib/data/initialContent'

https://nextjs.org/docs/messages/module-not-found

> Build failed because of webpack errors

/app/apps/web:

 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  xxxx-web@3.1.0 build: next build

Exit status 1

Neither of these strike me as application errors as neither can be reproduced locally (even the can't resolve) and both are yielding full crashes with no log. Any insight would be super helpful.

Solved$10 Bounty

0 Replies

10 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 10 months ago


Status changed to Solved austinkettner 10 months ago


Loading...