framer-motion for Next.js 15.0.2 #72228
Replies: 9 comments 4 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.
-
I used to have the same problem when I tried to install framer motion with next.js 15 and I solved it with this command
|
Beta Was this translation helpful? Give feedback.
-
im facing the same problem with my next.js 15.2.3 |
Beta Was this translation helpful? Give feedback.
-
Similar issue here. Animation doesn't work. I'm using next.js 15.3.1, react 19, the latest stable framer-motion. I also tried downgrading react to 18 and used "framer-motion": "12.0.0-alpha.2" but that doesn't fix the issue |
Beta Was this translation helpful? Give feedback.
-
Changed from and ran Helped me. :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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