Skip to content

Railway Deployment #2d5d42 fix: add claw-hive package.json COPY#3

Open
railway-app[bot] wants to merge 1 commit intodevfrom
railway/fix-deploy-2d5d42
Open

Railway Deployment #2d5d42 fix: add claw-hive package.json COPY#3
railway-app[bot] wants to merge 1 commit intodevfrom
railway/fix-deploy-2d5d42

Conversation

@railway-app
Copy link
Copy Markdown

@railway-app railway-app bot commented Mar 23, 2026

Problem

The gateway Docker build fails during pnpm install in the deps stage with ERR_PNPM_WORKSPACE_PKG_NOT_FOUND because @team9/claw-hive was added as a dependency of the gateway app but its package.json was never copied into the container. pnpm cannot resolve the workspace:* reference without the package's package.json being present.

Solution

Added COPY apps/server/libs/claw-hive/package.json ./apps/server/libs/claw-hive/ to the deps stage in docker/gateway.Dockerfile, alongside the other library package.json COPY instructions. This makes the package visible to pnpm during install so the workspace dependency resolves correctly.

Changes

  • Modified docker/gateway.Dockerfile

Context

  • Deployment: #2d5d42
  • Failed commit: 8caf77b

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