framer-motion for Next.js 15.0.2 #72228
Replies: 5 comments 3 replies
-
It seems that it’s still in the adjustment phase for the Next.js update. |
Beta Was this translation helpful? Give feedback.
-
Framer Motion is not yet compatible with React 19. While you could downgrade React to version 18 while keeping Next.js 15, this isn't recommended as it may lead to stability issues. I suggest waiting and I hope Framer Motion will release an update that supports React 19🤞 |
Beta Was this translation helpful? Give feedback.
-
I don't know why I used latest version nextjs 15 and react 19 now I am stuck |
Beta Was this translation helpful? Give feedback.
-
you can use "framer-motion": "12.0.0-alpha.2", it seems to be working fine for me, although its only used for the sonner toast package |
Beta Was this translation helpful? Give feedback.
-
You can just downgrade the version of react 19 to 18 keeping next-js 15 |
Beta Was this translation helpful? Give feedback.
-
Summary
dear all, I am new in software development, trying to deploy in Vercel. it's not working due to framer motion. I tried it with --force and also with --legacy-peer-deps, didn't work. Downgrading Next.js to 14 and React 18 changes my website's look. So I want to keep Next.js 15, React 19 and use framer-motion, is there any way to solve it?
Thanks in advance for any help or advice
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions