Box-UI React component struggling with dependencies
I'm trying to get the ContentPreview component working in React, and I can't get rid of these dependency issues. I've tried npm i, npm i --legacy-peer-deps, I've tried forcing it, and nothing seems to get rid of them.
It seems like a lot of it is pretty basic too, so I don't know if it's just an issue with my react version being too new or what, but nothing I've tried so far has been able to work. There are also too many dependencies in this list to go through all of them manually, and I've tried and failed a few times on some of the packages like "classnames"
I'm trying to manually install all the peer deps right now but every time I install one, another one pops up. Sometimes ones that I've already installed are listed later as not being installed. I feel like there should be an easy way to get these peer deps installed.
(In this example, I'm doing React in Vue to try to get around the problem, but I've done the same project in React alone which had the same issues)
-
Hi Tim,
I'm assuming the official git repo didn't help at all? (can you check)?
I did a sample react page with the UI Explorer a few months ago and I do remember going through the dependency hell.
If I remembered correctly I had to use node 16 but eventually got all dependencies right and it run fine. See if it helps.
-
投稿コメントは受け付けていません。
コメント
2件のコメント