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

can't install react-file-viewer with REACT 18.2.0 #239

Open
nikolastojkovic96 opened this issue Aug 9, 2023 · 4 comments
Open

can't install react-file-viewer with REACT 18.2.0 #239

nikolastojkovic96 opened this issue Aug 9, 2023 · 4 comments

Comments

@nikolastojkovic96
Copy link

While resolving: coreclient@0.1.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR! react@"^18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.6.3" from react-file-viewer@1.2.1
npm ERR! node_modules/react-file-viewer
npm ERR! react-file-viewer@"*" from the root project

@hanorine
Copy link

I'm having the same issue. Is this package being maintained?

@SeloSlav
Copy link

Same issue. It's not compatible with the latest version of React required for NextJS apps.

@amitkumarannex
Copy link

npm config set legacy-peer-deps true
npm i
Use this command. It works

@arisvn-quanVH
Copy link

npm i react-file-viewer --force

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

5 participants