frontend: .npmrc with legacy-peer-deps=true so npm ci works in Docker
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
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.
This commit is contained in:
parent
64eb90c3dc
commit
705ad0fdbb
1 changed files with 1 additions and 0 deletions
1
frontend/.npmrc
Normal file
1
frontend/.npmrc
Normal file
|
|
@ -0,0 +1 @@
|
|||
legacy-peer-deps=true
|
||||
Loading…
Add table
Add a link
Reference in a new issue