Skip to content

Fix Docker build: remove conflicting npm apt package - #2

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

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

Conversation

@railway-app

@railway-app railway-app Bot commented Oct 12, 2026

Copy link
Copy Markdown

Problem

The image build fails at step 2/11 because apt-get install nodejs npm exits with code 100: the NodeSource nodejs 22.x package conflicts with Debian's separate npm package ("nodejs : Conflicts: npm"). This started after the NodeSource setup was added in 61ba818.

Solution

Removed the standalone npm package from the apt install line in the Dockerfile. npm is provided by the NodeSource nodejs package, so npm --version and npm install -g bun continue to work.

Changes

  • Modified Dockerfile

Generated by Railway

This branch has not been deployed

No deployments
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