auto-animate
auto-animate copied to clipboard
Peer dependency error while installing
Trying to test this, but getting the following error:
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react
npm ERR! peerOptional react@"^16.8.0" from @formkit/[email protected]
npm ERR! node_modules/@formkit/auto-animate
npm ERR! @formkit/auto-animate@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
I'm running Node v18.2.0 and React v18.1.0
Try npm install @formkit/auto-animate --legacy-peer-deps, that should fix it!
Thank you. That's the recommendation, just wanted to make sure it wouldn't break anything.
Wonder if we should just remove vue and react as peerDependencies — they're already marked as optional, but this could be confusing for people.
@nattwasm Awesome, that fixed it. This literally took 4 seconds: https://www.magnayachts.com/en/second-hands @justin-schroeder 👍🏻 good idea
Wow! You guys work fast! ⚡️
@nattwasm Awesome, that fixed it. This literally took 4 seconds: https://www.magnayachts.com/en/second-hands @justin-schroeder 👍🏻 good idea
That's awesome! I like it a yacht. 😛