so annoyed rn merged a dependency update PR and now Vite refuses to build:

$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-dashboard@0.1.0
npm ERR! Found: react@19.x
npm ERR! node_modules/react
npm ERR! react@"^19" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17 || ^18" from some-chart-lib@x
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
The error is npm ERR! code ERESOLVE. The PR looked harmless, a few version bumps. I'd rather understand the cause than blindly revert or slap a flag on it. What's the right way to read this error and fix it properly? Happy to share more of the log if someone tells me which lines matter.

