Railpack not respecting pnpm version configuration (devEngines.packageManager and .railpackrc.toml)
ws333
HOBBYOP

5 days ago

I'm trying to use pnpm v11 in my Node.js monorepo (iases3backend), but Railpack keeps installing pnpm 9.15.9 regardless of configuration.

Tried:

  • .railpackrc.toml with pnpm = "11.22.0" — ignored
  • devEngines.packageManager in package.json with ">=11.0.0" — ignored

Build logs show "railpack default (9)" or "could not detect pnpm lockfile version"

Environment:

  • Node 22.23.2
  • Railpack v0.36.4
  • Local pnpm: 11.22.0

Question: Does Railpack v0.36.4 support pnpm v11.22.0?

Solved$10 Bounty

3 Replies

Railway
BOT

5 days ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway 5 days ago


Did you set a RAILPACK_CONFIG_FILE in your service to .railpackrc.toml?


(Also, I don't think Railpack supports .toml configuration files...? Only .json... https://railpack.com/config/file)


ws333
HOBBYOP

5 days ago

Thank for the suggestions.

I has hoping to avoid pinning pnpm to a specific version, but it works now after adding the following to package.json...

"packageManager": "pnpm@11.19.0"


Status changed to Solved 0x5b62656e5d 5 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...