stephane-monnot / react-vertical-timeline

Vertical timeline for React.js
https://stephane-monnot.github.io/react-vertical-timeline/
MIT License
1.06k stars 158 forks source link

"Unable to resolve dependency tree" #175

Open carrotcypher opened 6 months ago

carrotcypher commented 6 months ago

First off, I love this tool! It's exactly what I need for a project I wanted to make. Unfortunately, as someone brand new to npm, I'm completely lost as to the errors I'm experiencing nor how to remediate them. I'll document my steps below and hope someone can shed some light (keep in mind I have no idea of npn norms, so more verbose advice is appreciated!)

1) I am using Windows so I installed NodeJS (node-v20.10.0-x64) for Windows.

2) I run the Node.js command prompt and take it to a new folder where I want to clone this repo to.

3) I run git clone https://github.com/stephane-monnot/react-vertical-timeline.git and the clone completes successfully

4) I go into that folder and run npm i react-vertical-timeline-component and it throws the following error:

image

I presume I shouldn't try to go forward yet and should resolve this issue first? If so, how do I go about doing that?

For the sake of argument, I went ahead and tried by just using the --legacy-peer-deps param, and the following happens:

image image image

So I'm guessing this isn't the way to proceed. 😅

Any help would be greatly appreciated!

cc @stephane-monnot

maltin1234 commented 3 months ago

I am trying to solve this as well. Seems like many packages or not in update. It looks like it is compatable with node 14.17 and a lower version of react