Open oste opened 1 week ago
Hello, @oste and thank you for opening this issue. We'll mark this as a feature request since the versions mentioned here are still release candidates, but we'll update this issue as soon as we have support for the released versions. Thanks!
If you're using JavaScript, things should still work but this has not been fully tested yet. Per the error message you've listed, you can use the --legacy-peer-deps
command as well to test this if you'd like.
I did try legacy peer deps but didn’t have success but maybe that’s another issue with my dependency tree
Just tried the following commands and I didn't get any errors:
npx create-next-app test-react-19 # creates a Nextjs project using React 19RC
cd test-react-19
npm install aws-amplify @aws-amplify/ui-react --legacy-peer-deps
Output:
➜ test-react-19 git:(main) npm install aws-amplify @aws-amplify/ui-react --legacy-peer-deps
added 232 packages, and audited 269 packages in 10s
16 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Maybe try --force
? What version of npm are you using? I'm using npm 10.2.4.
As expected, I'm encountering a dependency error when running npm install with the latest versions of Next.js and React 19 RC. I'm wondering if there’s a way to make Amplify UI work with React 19, or if there’s a planned roadmap for adding support for react 19. Thanks!