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

React 17+ support #4

Open
trannel opened this issue Jul 11, 2022 · 0 comments
Open

React 17+ support #4

trannel opened this issue Jul 11, 2022 · 0 comments

Comments

@trannel
Copy link

trannel commented Jul 11, 2022

We are currently trying to integrate a pyLDAvis visualization into our React frontend using your library, but npm could not resolve the dependencies:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: react-ldavis@1.0.0
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR!   react@"^17.0.2" from the root project
npm ERR!   peer react@">=16.8.0" from @emotion/react@11.9.0
npm ERR!   node_modules/@emotion/react
npm ERR!     @emotion/react@"^11.9.0" from the root project
npm ERR!     peer @emotion/react@"^11.0.0-rc.0" from @emotion/styled@11.8.1
npm ERR!     node_modules/@emotion/styled
npm ERR!       @emotion/styled@"^11.8.1" from the root project
npm ERR!       3 more (@mui/material, @mui/styled-engine, @mui/system)
npm ERR!     3 more (@mui/material, @mui/styled-engine, @mui/system)
npm ERR!   17 more (@emotion/styled, @mui/base, @mui/icons-material, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.0.0" from react-ldavis@1.0.0
npm ERR! node_modules/react-ldavis
npm ERR!   react-ldavis@"^1.0.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: react@16.14.0
npm ERR! node_modules/react
npm ERR!   peer react@"^16.0.0" from react-ldavis@1.0.0
npm ERR!   node_modules/react-ldavis
npm ERR!     react-ldavis@"^1.0.0" from the root project

Would it be rather straightforward to add support for higher React versions?

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