react-virtualized icon indicating copy to clipboard operation
react-virtualized copied to clipboard

not installing without --force flag with react ^17.0.0

Open liesislukas opened this issue 4 years ago • 9 comments

if there is no reason to not support react 17+ i suggest adding react ^17.0.0 to peer dependencies and there is ^17.0.1

I found many other libs to have ^17.0.0 and this is the only which has ^17.0.1

made PR for this, if agreed

image

liesislukas avatar May 22 '21 07:05 liesislukas

We really need this update. There are warnings about incorrect peer deps.

mrbalov avatar May 24 '21 10:05 mrbalov

I am also having this same issue, I'm using react-virtualized for electron and electron-builder npm installs all the packages and keeps failing. Not to mention that I can't add any arguments (like --force or --legacy-peer-deps). The temporary fix I have done for now is to manually change the peer deps on my own

riteshahlawat avatar Jul 18 '21 22:07 riteshahlawat

ping @bvaughn 😃

pierre-H avatar Aug 02 '21 14:08 pierre-H

npm install --legacy-peer-deps works as an alternative to --force

wallzero avatar Aug 17 '21 20:08 wallzero

be really nice if we could get a new tag/version release and pushed to npm for this!

atomless avatar Oct 20 '21 15:10 atomless

especially as pointing to the commit where the react version was updated does not work with this repo

atomless avatar Oct 20 '21 15:10 atomless

Good lordy I see that this was added to the package.json on the github repo:

"peerDependencies": {
    "react": "^15.3.0 || ^16.0.0-alpha || ^17.0.1",
    "react-dom": "^15.3.0 || ^16.0.0-alpha || ^17.0.1"
  },

However this is not yet published to npm. It is causing a disastrous monstrosity to occur when trying to install. Please publish this up to npm so I don't have to hack my install with --legacy-peer-deps!

slutske22 avatar Feb 03 '22 20:02 slutske22

@bvaughn please publish! We're being blocked by this on Firebase cloud functions.

rscotten avatar Feb 23 '22 13:02 rscotten

I haven't used this package in years. I don't have the mental bandwidth or the desire to maintain it. If someone else (preferably someone who actively uses it) wants to step up and publish this release (and deal with any potential breaks it causes, since there are several changes committed since the last release) then please email me.

bvaughn avatar Feb 26 '22 00:02 bvaughn

Version 9.22.4 has been published with peer dependencies updated to include React 17 and 18. (No other changes from 9.22.3)

https://github.com/bvaughn/react-virtualized/releases/tag/v9.22.4

bvaughn avatar Apr 09 '23 13:04 bvaughn