I'm fairly new to react, as in I just started building UI's with it about a month ago.
I ran into an error recently that I have a slight idea what it means, but I'm not sure how to resolve it.
npm install react-plaid-link npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: email@example.com npm ERR! Found: firstname.lastname@example.org npm ERR! node_modules/react npm ERR! react@"^17.0.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.8.0" from email@example.com npm ERR! node_modules/react-plaid-link npm ERR! react-plaid-link@"*" 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.
If I understand this correctly,
react-plaid-link uses react 16.8 as a dependency, but I have react 17 installed and so it won't work?
Is that a correct understanding of this error? How do I resolve this? Can I downgrade? Should I?
Any help would be greatly appreciated.