Skip to content

Railway Deployment #cd2cc9 fix: add packages field to workspace - #62

Merged
michaelbarnes merged 1 commit into
mainfrom
railway/fix-deploy-cd2cc9
Jul 8, 2026
Merged

Railway Deployment #cd2cc9 fix: add packages field to workspace#62
michaelbarnes merged 1 commit into
mainfrom
railway/fix-deploy-cd2cc9

Conversation

@railway-app

@railway-app railway-app Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Problem

The pnpm install step fails with "ERROR packages field missing or empty" because pnpm-workspace.yaml exists but lacks the required packages field. pnpm requires a non-empty packages field whenever a workspace config file is present, even for single-package repos.

Solution

Added packages: ['.'] to pnpm-workspace.yaml so pnpm recognises the root directory as the sole workspace member. This satisfies pnpm's validation while preserving the existing allowBuilds configuration introduced in PR #61.

Changes

  • Modified pnpm-workspace.yaml

Context

  • Deployment: #cd2cc9
  • Failed commit: 12e5b31

Generated by Railway

@michaelbarnes
michaelbarnes merged commit c113e94 into main Jul 8, 2026
1 check failed
@michaelbarnes
michaelbarnes deleted the railway/fix-deploy-cd2cc9 branch July 8, 2026 00:16
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.

1 participant