danielr18 / connected-next-router

A Redux binding for Next.js Router compatible with Next.js.
MIT License
109 stars 30 forks source link

doesn't work with React 18+ #89

Closed crypt0biwan closed 2 years ago

crypt0biwan commented 2 years ago
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: undefined@undefined
npm ERR! Found: react@18.0.0
npm ERR! node_modules/react
npm ERR!   react@"18.0.0" from the root project
npm ERR!   peer react@"^17.0.2 || ^18.0.0-0" from next@12.1.4
npm ERR!   node_modules/next
npm ERR!     next@"12.1.4" from the root project
npm ERR!     peer next@"^10.0.0 || ^11.0.0 || ^12.0.0" from connected-next-router@4.1.1
npm ERR!     node_modules/connected-next-router
npm ERR!       connected-next-router@"*" from the root project
npm ERR!   1 more (react-dom)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || ^17.0.0" from connected-next-router@4.1.1
npm ERR! node_modules/connected-next-router
npm ERR!   connected-next-router@"*" 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.
borisilic-ap commented 2 years ago

Any updates on this or future plans to get it fixed?

danielr18 commented 2 years ago

@borisilic-ap I'll release a new version today

danielr18 commented 2 years ago

Version 4.2.0 has been released