Why does it not let me install this? #8806
-
Why cant I install this dependency? I get this error.
|
Beta Was this translation helpful? Give feedback.
Answered by
timdorr
Apr 20, 2022
Replies: 1 comment 1 reply
-
Your dependency on You likely have multiple versions of |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
SupertigerDev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your dependency on
mobx-react-lite
is causing the issue. It only supports React 16.8+ to 17.x. It appears you've got React 18 installed, which contradicts themobx-react-lite
requirement and that's causing a version restriction that then conflicts when you try to install something that supports React 18.You likely have multiple versions of
react
in your tree, which you can find withnpm ls react
.