From 543bfdabd3880af9d292460b85a53eeb8a33368f Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 7 Apr 2023 03:18:05 -0400 Subject: [PATCH] CI: Use `npm i --legacy-peer-deps` for react-virtualized --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66a903150c..27fd18892d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,9 @@ jobs: - name: Install Node modules if: steps.node-cache.outputs.cache-hit != 'true' - run: npm install + # --legacy-peer-deps is necessary for current React versions until react-virtualized is + # updated or we replace it: https://github.com/bvaughn/react-virtualized/issues/1775 + run: npm install --legacy-peer-deps - name: Build Zotero run: npm run build