davidtran / react-google-flight-datepicker

React date picker inspired by Google Flight
MIT License
386 stars 48 forks source link

peer react@"^16.8.4" from react-google-flight-datepicker@0.1.20 #64

Open BaseMax opened 1 year ago

BaseMax commented 1 year ago

% npm install react-google-flight-datepicker

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: project@1.0.0
npm ERR! Found: react@18.1.0
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 react-google-flight-datepicker@0.1.20
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:
prashantbabal commented 1 year ago

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