kbar: Dependency error with `react-virtual`
I still get an error when I install packages based on react 18 even though #222. Do you have any ideas how to solve it?
npm i --force
npm WARN using --force Recommended protections disabled.
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: react-virtual@2.10.4
npm WARN Found: react@18.2.0
npm WARN node_modules/react
npm WARN react@"18.2.0" from the root project
npm WARN 29 more (@headlessui/react, @radix-ui/react-collection, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.6.3 || ^17.0.0" from react-virtual@2.10.4
npm WARN node_modules/kbar/node_modules/react-virtual
npm WARN react-virtual@"^2.8.2" from kbar@0.1.0-beta.43
npm WARN node_modules/kbar
npm WARN
npm WARN Conflicting peer dependency: react@17.0.2
npm WARN node_modules/react
npm WARN peer react@"^16.6.3 || ^17.0.0" from react-virtual@2.10.4
npm WARN node_modules/kbar/node_modules/react-virtual
npm WARN react-virtual@"^2.8.2" from kbar@0.1.0-beta.43
npm WARN node_modules/kbar
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 11
- Comments: 18
Commits related to this issue
- Upgrade to react-virtual 3.0.1 react-virtual is now available as v3 and published under @tanstack/react-virtual. The old version will not receive updates anymore, see https://github.com/cloudscape-de... — committed to iFreilicht/kbar by iFreilicht 3 years ago
- Upgrade to react-virtual 3.0.1 react-virtual is now available as v3 and published under @tanstack/react-virtual. The old version will not receive updates anymore, see https://github.com/cloudscape-de... — committed to iFreilicht/kbar by iFreilicht 3 years ago
- Squashed commit of the following: commit 51879c7379db6df81f540ba4da0bfbaaf056c77c Author: Felix Uhl <github@mail.felix-uhl.de> Date: Sun Dec 10 17:15:24 2023 +0100 Fix type error commit a19a0... — committed to Haarolean/kbar by Haarolean 3 years ago
- Upgrade to react-virtual 3.0.1 react-virtual is now available as v3 and published under @tanstack/react-virtual. The old version will not receive updates anymore, see https://github.com/cloudscape-de... — committed to iFreilicht/kbar by iFreilicht 3 years ago
- Upgrade to react-virtual 3.1.3 react-virtual is now available as v3 and published under @tanstack/react-virtual. The old version will not receive updates anymore, see https://github.com/cloudscape-de... — committed to iFreilicht/kbar by iFreilicht 3 years ago
- Upgrade to react-virtual 3.1.3 react-virtual is now available as v3 and published under @tanstack/react-virtual. The old version will not receive updates anymore, see https://github.com/cloudscape-de... — committed to iFreilicht/kbar by iFreilicht 3 years ago
- Upgrade to react-virtual 3.1.3 react-virtual is now available as v3 and published under @tanstack/react-virtual. The old version will not receive updates anymore, see https://github.com/cloudscape-de... — committed to iFreilicht/kbar by iFreilicht 3 years ago
I created #348 to fix this.
@ahmadbilaldev If you want to help, test that PR in your project and see if you can find any issues.
with npm 9+ you can define dep overrides for a workaround:
package.json
https://docs.npmjs.com/cli/v8/configuring-npm/package-json#overrides
It seems this repo is no longer maintained. I believe cmdk is a good, still-supported alternative.
bumparino
need some noise here!
PLease maintain this and get this fixed
Please if we can get this fixed. Thanks