schiehll / react-alert

alerts for React
MIT License
608 stars 98 forks source link

error while installing without --legacy-peer-deps #196

Open AdaCra opened 1 year ago

AdaCra commented 1 year ago

Not sure of the validity of this issue. full error logs below

$ npm i react-alert
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: frontend@0.1.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"^18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.1 || ^17" from react-alert@7.0.3
npm ERR! node_modules/react-alert
npm ERR!   react-alert@"*" 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.
[eresolve-report.txt](https://github.com/schiehll/react-alert/files/10429744/eresolve-report.txt)
[2023-01-16T22_14_07_975Z-debug-0.log](https://github.com/schiehll/react-alert/files/10429726/2023-01-16T22_14_07_975Z-debug-0.log)