From 705ad0fdbb07cf61ab5a4855f8d91e505b515be0 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sun, 10 May 2026 16:51:32 +0000 Subject: [PATCH] frontend: .npmrc with legacy-peer-deps=true so npm ci works in Docker Visx 3.12 peer-deps cap React at ^18 but we're on React 19. The Dockerfile uses 'npm ci' (no flag overrides), so the build failed with ERESOLVE. Adding the .npmrc file persists the legacy-peer-deps flag for both 'npm install' and 'npm ci' without changing the Dockerfile. --- frontend/.npmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 frontend/.npmrc diff --git a/frontend/.npmrc b/frontend/.npmrc new file mode 100644 index 0000000..521a9f7 --- /dev/null +++ b/frontend/.npmrc @@ -0,0 +1 @@ +legacy-peer-deps=true