Railpack cannot resolve monorepo dependencies with hoisted linking
mhornbacher
PROOP

5 days ago

I am trying to push a update to my application which built fine yesterday. the update consists purely of a npm package bump for all services on railway. However as of today it is no longer able to resolve monorepo packages in Railpack... No configuration has changed in Railway.

5 Replies

mhornbacher
PROOP

5 days ago

Hm, it seems to be tied to nodeLinker: hoisted which was enabled to fix issues in the mobile app


mhornbacher
PROOP

5 days ago

Railpack cannot resolve monorepo dependencies with hoisted linking


mhornbacher
PROOP

5 days ago

Yeah, seems railpack is an unmaintained or documented mess. Time to leave railway... every single deployment I have done so far has caused hours of debugging pain 😢


iloveitaly
HOBBY

4 hours ago

@mhornbacher do you have the build log or any other information about the failure?


mhornbacher
PROOP

an hour ago

Sure, I attached the full log here, it was fixed by setting RAILPACK_INSTALL_CMD to pnpm install --frozen-lockfile --prefer-offline --config.node-linker=isolated (changing the linker fixed it)

Attachments


Welcome!

Sign in to your Railway account to join the conversation.

Loading...