react-google-flight-datepicker icon indicating copy to clipboard operation
react-google-flight-datepicker copied to clipboard

peer react@"^16.8.4" from [email protected]

Open BaseMax opened this issue 2 years ago • 1 comments

% npm install react-google-flight-datepicker

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"18.1.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.4" from [email protected]
npm ERR! node_modules/react-google-flight-datepicker
npm ERR!   react-google-flight-datepicker@"*" 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! 
npm ERR! For a full report see:

BaseMax avatar Apr 03 '23 18:04 BaseMax

Use overrides in your package.json as mentioned here https://stackoverflow.com/a/48524488

prashantbabal avatar Apr 15 '23 00:04 prashantbabal

It works now, closing the issue. Do not hesitate to re-open it if you are facing issues

Telsho avatar Dec 06 '24 16:12 Telsho