React 19: Fails to install #10380
-
OverviewWhen installing remix-run/[email protected] into a React 19.0.0 project it fails. I have tried a variety of solutions(Listed below), I hope this is not a duplicate question/issue - any help is welcomed. I am just sorta new to this type of development, thank you all! The Reasoning
Logging
What have I triedI have tried a lot of things but not limited to:
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
just followed the installation instruction from the doc here and got the same failure |
Beta Was this translation helpful? Give feedback.
-
This might be a further technical consideration from Remix as a whole... Is remix going away since react router 7 is taking over what remix used to be? Would like to see an official response on if us remix adopters need to consider remix upgrades or if we should ditch it and migrate to purely react with its new router? |
Beta Was this translation helpful? Give feedback.
-
I tried to upgrade react, vite, and typescript. But I could not do because remix does not use the latest version of them as pear dependencies.
It can be overridden.
@remix-run/dev uses
We have to wait til they update the packages. |
Beta Was this translation helpful? Give feedback.
-
For example, wouldn't importing from react-router-dom make @remix-run/react unnecessary? |
Beta Was this translation helpful? Give feedback.
-
@larson-carter - it's April 2025 and I ran into the same issue when trying to use Remix with React 19. The simplest solution for me was just downgrading to React 18: npm uninstall react react-dom
npm i react@^18.2.0 react-dom@^18.2.0 After downgrading, I was able to install Remix without any issues. I know you mentioned trying various solutions, but sometimes the simplest approach works best until Remix officially supports React 19. |
Beta Was this translation helpful? Give feedback.
-
There won't be a new version of Remix. Use react-router 7. |
Beta Was this translation helpful? Give feedback.
There won't be a new version of Remix. Use react-router 7.
https://reactrouter.com/upgrading/remix