From 7d47903541bc91fa7f150b3e1daff7d4d6c1ac6d Mon Sep 17 00:00:00 2001 From: root Date: Wed, 4 Feb 2026 02:42:46 +0000 Subject: [PATCH] fix(ci): use legacy-peer-deps and add react-is dependency - Use --legacy-peer-deps to resolve heroui peer dependency conflicts - Add react-is required by recharts --- .github/workflows/ci-build.yml | 2 +- vite-frontend/package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 6abbe7e..aa4f18f 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -22,7 +22,7 @@ jobs: node-version: '20' - name: Install dependencies - run: npm install + run: npm install --legacy-peer-deps - name: Build run: npm run build diff --git a/vite-frontend/package.json b/vite-frontend/package.json index 9551eb2..d89bafe 100644 --- a/vite-frontend/package.json +++ b/vite-frontend/package.json @@ -54,6 +54,7 @@ "react-beautiful-dnd": "^13.1.1", "react-dom": "18.3.1", "react-hot-toast": "^2.5.2", + "react-is": "^19.2.4", "react-router-dom": "6.23.0", "recharts": "^3.1.1", "sonner": "^2.0.6",