Peer dependency error while installing
See original GitHub issueTrying to test this, but getting the following error:
npm ERR! Conflicting peer dependency: react@16.14.0
npm ERR! node_modules/react
npm ERR! peerOptional react@"^16.8.0" from @formkit/auto-animate@1.0.0-beta.1
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
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Npm peer dependency error - node.js - Stack Overflow
I am getting the npm peer dependency error repeatedly with npm install command . This is my package.json on which i have unmet...
Read more >[BUG] non-previosly seen peer-dependency errors popping ...
After upgrading from 8.5.5 to 8.6.0 I'm starting to get peer dependency issues that are not present when running under 8.5.5. I don't ......
Read more >Unable to resolve dependency tree error when ... - ItsMyCode
Solution 1: Ignore the peerDependencies. The easiest way to fix the issue is to pass an additional parameter –legacy-peer-deps to npm install.
Read more >[Fixed] NPM conflicting peer dependency error
[Fixed] NPM conflicting peer dependency error · 1. Check for incompatible versions and upgrade the versions with NPM · 2. Use npm install...
Read more >Unable to resolve dependency tree error in Angular while ...
To fix Unable to resolve dependency tree error in Angular while installing `npm` packages follow the below steps. 1. Run `npm install --save ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nattwasm Awesome, that fixed it. This literally took 4 seconds: https://www.magnayachts.com/en/second-hands @justin-schroeder 👍🏻 good idea
Try
npm install @formkit/auto-animate --legacy-peer-deps
, that should fix it!