Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peer dependency conflict with react > 16 (workaround: npm install --force) #33

Open
rewbs opened this issue Jun 7, 2023 · 0 comments
Open

Comments

@rewbs
Copy link

rewbs commented Jun 7, 2023

Hi, thanks again for the great component.

This component uses react-virtualized@9.22.3 which does not declare compatibility with versions of react and react-dom above 16. As a result, using react-timeline-editor with a recent version of react results in npm install failing with a peer dependency conflict.

I'm using react 18 and, in my work so far, I've seen no actual compatibility issues if I work around the error with npm install --force. However, that command can be dangerous so it would be great to stop using it.

The solution would be for react-virtualized to officially declare compatibility with recent versions of react. The problem is, it seems react-virtualized is deprecated and unlikely to get updates, so we'd need react-timeline-editor to switch to react-window.

If anyone has any better workaround, let me know! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant