connected-react-router icon indicating copy to clipboard operation
connected-react-router copied to clipboard

Can't install package with React 18.1

Open NetoBoralli opened this issue 2 years ago • 5 comments

Whenever I try to install the last version of the package, using the last release of React, I receive the following error. image

NetoBoralli avatar May 13 '22 00:05 NetoBoralli

Yeah, we are having this same issue as well. I haven't been able to found a work-around. Right now my only idea is to just return back to React version 17.0.0.

melodymonyok avatar May 18 '22 20:05 melodymonyok

@NetoBoralli Barring any compatibility issues you could open a PR to update the project's peer dependency to include react 18. Right now though it's locked to React 16/17.

awreese avatar Jun 02 '22 20:06 awreese

If you are strongly get into this try to add --legacy-peer-deps

petatemarvin26 avatar Jul 14 '22 04:07 petatemarvin26

@NetoBoralli Barring any compatibility issues you could open a PR to update the project's peer dependency to include react 18. Right now though it's locked to React 16/17.

PR: https://github.com/supasate/connected-react-router/pull/587 but owner seems to no longer be active as discussed in this issue: https://github.com/supasate/connected-react-router/issues/579

Mihai1iMob avatar Oct 03 '22 11:10 Mihai1iMob

@NetoBoralli Barring any compatibility issues you could open a PR to update the project's peer dependency to include react 18. Right now though it's locked to React 16/17.

PR: #587 but owner seems to no longer be active as discussed in this issue: #579

Yeah, this appears to be a dead project at this point. I moved on to redux-first-history on my newer projects and it works quite well.

awreese avatar Oct 07 '22 15:10 awreese