Skip to content

Fix/dashboard build#113

Open
DISTinTheHouse wants to merge 2 commits into
rmyndharis:mainfrom
DISTinTheHouse:fix/dashboard-build
Open

Fix/dashboard build#113
DISTinTheHouse wants to merge 2 commits into
rmyndharis:mainfrom
DISTinTheHouse:fix/dashboard-build

Conversation

@DISTinTheHouse
Copy link
Copy Markdown

Description

Fixes dashboard Docker build failure caused by strict peer dependency resolution during npm ci.

The dashboard image failed to build with newer npm versions due to React/Vite peer dependency conflicts:

npm ERR! ERESOLVE unable to resolve dependency tree

This PR replaces:

RUN npm ci

with:

RUN npm install --legacy-peer-deps

inside:

dashboard/Dockerfile.traefik

This allows the dashboard container to build successfully in local and production Docker environments.


Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Checklist

  • Tests added/updated
  • Documentation updated
  • Lint passes
  • Self-reviewed

Screenshots (if applicable)

Dashboard containers build and start successfully:

  • openwa-dashboard
  • openwa-api
  • openwa-traefik

Related Issues

Fixes dashboard Docker build dependency conflicts with newer npm versions.

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