This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 205
Type 'ThemeModalStyle' is not assignable to type 'Styles'. TS2322 #587
Comments
Same here, didn't do upgrade though, just cloned, npm install and npm start |
same here, how to fix this? |
seems you need to make sure not to upgrade to latest react-modal, please use in package.json "react-modal": "3.8.1", strict version and don't do yarn upgrade - then should work, at least worked for me! |
My solution:
|
Can you point to the docs which recommend a
This project uses yarn as mentioned in the README.
I'll pin to this specific version to prevent frustrations of those using |
as Styles |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As suggested during build, I ran a
yarn upgrade
.Thereafter I got the error:
The text was updated successfully, but these errors were encountered: