Skip to content

Add railpack.toml to disable frozen-lockfile - #3

Open
railway-app[bot] wants to merge 1 commit into
mainfrom
railway/code-change-kjnn59
Open

Add railpack.toml to disable frozen-lockfile#3
railway-app[bot] wants to merge 1 commit into
mainfrom
railway/code-change-kjnn59

Conversation

@railway-app

@railway-app railway-app Bot commented Apr 28, 2026

Copy link
Copy Markdown

Problem

Railway's build fails with ERR_PNPM_OUTDATED_LOCKFILE because Railpack runs pnpm install --frozen-lockfile by default, and the build environment detects the lockfile as outdated — specifically missing node-macaddress@^2.1.1 from packages/@hmrc-sync/collector/package.json.

Solution

Added a railpack.toml at the repository root with frozen_lockfile = false under the [install] section. This tells Railpack to omit the --frozen-lockfile flag, allowing pnpm to regenerate the lockfile during the build if there are any dependency mismatches.

Changes

  • Created railpack.toml

Generated by Railway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants