Skip to content

Railway Deployment #06c678 fix: add root .npmrc with legacy-peer-deps#330

Open
railway-app[bot] wants to merge 1 commit into
mainfrom
railway/fix-deploy-06c678
Open

Railway Deployment #06c678 fix: add root .npmrc with legacy-peer-deps#330
railway-app[bot] wants to merge 1 commit into
mainfrom
railway/fix-deploy-06c678

Conversation

@railway-app
Copy link
Copy Markdown

@railway-app railway-app Bot commented May 9, 2026

Problem

The quotevote-api service fails at BUILD_IMAGE because Nixpacks auto-detects the install command as npm i, which fails with an ERESOLVE peer dependency conflict: @livechat/[email protected] requires react@^16.3.0 but the project uses [email protected]. npm 7+ enforces strict peer dependency resolution by default, and no root .npmrc existed to override this behavior.

Solution

Added a root .npmrc file with legacy-peer-deps=true, which instructs npm to use legacy peer dependency resolution whenever it runs in the project root. This matches the --legacy-peer-deps flag already used in the project's install:all script and ensures Nixpacks' auto-detected npm i command succeeds without any dashboard config changes.

Changes

  • Created .npmrc

Context

  • Deployment: #06c678
  • Failed commit: e65742d

Generated by Railway

@netlify
Copy link
Copy Markdown

netlify Bot commented May 9, 2026

Deploy Preview for quotevote canceled.

Name Link
🔨 Latest commit ddd364e
🔍 Latest deploy log https://app.netlify.com/projects/quotevote/deploys/69ffc6da41a0d00008e7a0c9

@railway-app
Copy link
Copy Markdown
Author

railway-app Bot commented May 9, 2026

🚅 Deployed to the quotevote-monorepo-pr-330 environment in profound-optimism

Service Status Web Updated (UTC)
quotevote-api ❌ Build Failed (View Logs) Web May 9, 2026 at 11:49 pm

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