Hey everyone, I'm currently trying to set up DateTimePicker but encountered an error. Here's the issue:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="2052454143546011160e11130e11">[email protected]</a>
npm ERR! node_modules/react
npm ERR! react@"16.13.1" from the root project
npm ERR! peer react@">=16.8.3" from @react-native-community/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="a1c5c0d5c4d5c8ccc4d1c8c2cac4d3e1928f918f95">[email protected]</a>
npm ERR! node_modules/@react-native-community/datetimepicker
npm ERR! @react-native-community/datetimepicker@"3.0.4" from the root project
npm ERR! 1 more (react-native)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"17.0.1" from <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="6012050103144d0e01140916054d17090e040f171320504e56544e55">[email protected]</a>
npm ERR! node_modules/react-native-windows
npm ERR! peer react-native-windows@">=0.62" from @react-native-community/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="a4c0c5d0c1d0cdc9c1d4cdc7cfc1d6e4978a948a90">[email protected]</a>
npm ERR! node_modules/@react-native-community/datetimepicker
npm ERR! @react-native-community/datetimepicker@"3.0.4" 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.
npm ERR!
npm ERR! See C:\Users\robbi\AppData\Local\npm-cache\eresolve-report.txt for a full report.
Any suggestions on how to tackle this issue?
Apologies if this is a basic question, still in the learning phase...