Reproduction
https://github.com/87906913/408919357/tree/main/react-router/vague-error-react-19
Steps are in the readme.
System Info
System:
OS: Windows 10
CPU: (4)
Memory: 7.80 GB
Binaries:
Node: 22.14.0
npm: 10.8.0
Used Package Manager
npm
Expected Behavior
If it's something related to not supporting React 19, then the package should state so instead of throwing vague errors.
Actual Behavior
I presume it's some React error which was just re-thrown by React Router as is. Really fun to find out about this while working for another repro of another issue.