Closed komali2 closed 2 years ago
Hey @komali2, thanks for sharing the package.json. ~NPM >= 7 should install peer-dependencies automatically. Could you check your npm --version
?~ (nevermind, you are using yarn) You have added Chakra v2 (react 18), we use Chakra v1 still, I think that's why you are getting this error.
Let me try to dig a little deeper and see why installing our package just doesn't work out of the box for you.
Thank you for the tip! Changing my chakra version inside my package.json to as follows fixed it:
"@chakra-ui/react": "1.8.8",
I also did npm cache clean --force
yarn cache clean --force
and rm -rf node_modules
.
Hello, this project is awesome, however, I'm struggling to find the right combination of frontend library versions to use in order to use this project.
First, I found out that the project has a potentially unlisted dependency: Chakra. So, I added that.
Now, I'm getting the following error in a view that imports this library:
I'm wondering if I'm perhaps missing some other dependencies or actions I should take in order to use this library?
Thank you.
Our package.json: