Build fails
fengqihu
FREEOP

25 days ago

  • Project: HopShare
  • Environment: production
  • Service: HopShare
  • Failed Deployment IDs:
    • cb153ac0-e570-45af-b1da-2b7226b67336
    • 87d3b7ff-d065-47f0-a2e1-a03cf0d12395
    • 6b8913c6-514f-45d6-bea6-83ea28b2eb09
    • 0a5b9a62-20bb-4aff-bc1d-404c71f68d29
  • Issue: Railpack cannot resolve pnpm version 9 from its package registry. Four consecutive deployments failing with identical error. Same code built successfully on April 27 at 21:02 UTC.
  • Error: "Failed to resolve version 9 of pnpm"
$10 Bounty

3 Replies

Status changed to Open Railway 25 days ago


i-smuglov
FREETop 5% Contributor

22 days ago

Try to pin exact pnpm version

In package.json:

{
  "packageManager": "pnpm@9.12.0"
}

kingpuppet46443
FREE

22 days ago

{
  "packageManager": "pnpm@9.12.0"
}

i-smuglov
FREETop 5% Contributor

22 days ago

Please share your full package.json and build logs (first ~50 lines). Please don't share any private or sensitive information with that.

A few additional random tips

Ensure:

pnpm-lock.yaml

is present and committed.

3. Force Node ≥ 18

{
  "engines": {
    "node": ">=18"
  }
}

Welcome!

Sign in to your Railway account to join the conversation.

Loading...