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?
3 Replies
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
5 days ago
Did you set a RAILPACK_CONFIG_FILE in your service to .railpackrc.toml?
5 days ago
(Also, I don't think Railpack supports .toml configuration files...? Only .json... https://railpack.com/config/file)
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