Compare commits

1 Commits

Author SHA1 Message Date
denshooter
8192388c5d fix: Add --legacy-peer-deps to npm install in docker-compose for React 18/19 peer dependency conflict
This fixes the dashboard container failing to install dependencies due to
react-leaflet v5 requiring React 19 while the project uses React 18.3.1.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-27 15:09:20 +01:00

View File

@@ -44,7 +44,7 @@ services:
volumes:
- ./dashboard:/app
- /app/node_modules
command: ["sh", "-c", "npm install && npm run dev -- --host 0.0.0.0 --port 8090"]
command: ["sh", "-c", "npm install --legacy-peer-deps && npm run dev -- --host 0.0.0.0 --port 8090"]
ports:
- "8090:8090"
environment: