Skip to content

Fix npm install in debug Dockerfile with legacy-peer-deps flag#68

Merged
wolfdancer merged 1 commit into
mainfrom
fix/dockerfile-debug-npm-install
Nov 18, 2025
Merged

Fix npm install in debug Dockerfile with legacy-peer-deps flag#68
wolfdancer merged 1 commit into
mainfrom
fix/dockerfile-debug-npm-install

Conversation

@wolfdancer

@wolfdancer wolfdancer commented Nov 18, 2025

Copy link
Copy Markdown
Owner

Summary

  • Adds --legacy-peer-deps flag to npm install command in server/Dockerfile.debug
  • Resolves peer dependency conflicts during Docker image build

Problem

The debug Dockerfile was failing during npm install due to peer dependency conflicts between packages.

Solution

Added the --legacy-peer-deps flag to bypass strict peer dependency resolution, allowing the build to complete successfully while maintaining backward compatibility.

Test plan

  • Build the debug Docker image using npm run docker:build:debug
  • Verify the image builds successfully without npm install errors
  • Start the debug container using npm run docker:up:debug
  • Verify the server starts correctly and all dependencies are properly installed

🤖 Generated with Claude Code

Adds --legacy-peer-deps flag to npm install command in the debug Dockerfile to resolve peer dependency conflicts during Docker build.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@wolfdancer
wolfdancer merged commit a79f236 into main Nov 18, 2025
3 checks passed
@wolfdancer
wolfdancer deleted the fix/dockerfile-debug-npm-install branch November 18, 2025 05:35
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