fabioshub / react-push-notification

Push notification library for React.js
46 stars 18 forks source link

Not working with react 18.2.0 #7

Open ghosharnab00 opened 1 year ago

to0-young commented 1 year ago

works fine on me. maybe you should describe your problem

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: my-app@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.0" from react-push-notification@1.5.3 npm ERR! node_modules/react-push-notification npm ERR! react-push-notification@"^1.5.3" 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: npm ERR! /home/yevhen/.npm/_logs/2023-05-11T14_58_04_261Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: npm ERR! /home/yevhen/.npm/_logs/2023-05-11T14_58_04_261Z-debug-0.log

How to solve the problem :?

Anan7Codes commented 1 year ago

Not working on react 18 for me as well.

kiknaio commented 12 months ago

Same here 👋