Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

React 18 not supported. #688

Closed
Mokesh-off opened this issue Dec 6, 2022 · 4 comments
Closed

React 18 not supported. #688

Mokesh-off opened this issue Dec 6, 2022 · 4 comments

Comments

@Mokesh-off
Copy link

Steps to reproduce:
With React 18, npm i react-image-lightbox

Expected:
Successful installation

Actual:
npm ERR! Could not resolve dependency:
npm ERR! peer react@"16.x || 17.x" from [email protected]

@tirajetw
Copy link

tirajetw commented Dec 7, 2022

me too

@Eng-Fouad
Copy link

Try with --force option.

@atf98
Copy link

atf98 commented Dec 28, 2022

is there any other solution rather than using --force

@aaroncrawford
Copy link

No, I think this library has been abandoned unfortunately. @fritz-c would be able to confirm/deny.

You can use --force to install and it mostly works - issues with StrictMode, see #672 for issue with initial loading in case you run into it.

@fritz-c fritz-c closed this as completed Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants