Skip to content

Merge of request #5534 broke the https://reactdatepicker.com/ website #5550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mkacik opened this issue Apr 8, 2025 · 0 comments
Open

Comments

@mkacik
Copy link

mkacik commented Apr 8, 2025

Describe the bug
This merge seems to have broken the website https://reactdatepicker.com/.

Following css error causing it to render as just a blank page:

index-CfSFwDNY.js:49 Uncaught Error: Minified React error #527; visit https://react.dev/errors/527?args[]=19.1.0&args[]=19.0.0 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at hE (index-CfSFwDNY.js:49:32073)
    at pE (index-CfSFwDNY.js:49:34100)
    at index-CfSFwDNY.js:49:34123

This points to following code in minified react:

    var b0 = n.version;
    if (b0 !== "19.0.0")
        throw Error(a(527, b0, "19.0.0"));

Which according to react docs here, would have had full error message of:

Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:

This lines up with failing github actions https://github.com/Hacker0x01/react-datepicker/actions/runs/14319179590, and looking at the merge diff (#5534), it indeed introduces the version mismatch.

To Reproduce
Go to https://reactdatepicker.com/ and open the console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant