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

Adapt to current version of react #70

Open
AmrAhmedA opened this issue Jan 27, 2022 · 3 comments
Open

Adapt to current version of react #70

AmrAhmedA opened this issue Jan 27, 2022 · 3 comments

Comments

@AmrAhmedA
Copy link

While installing react-typical using the react version 17.0.2, I stumbled upon the following error, it seems that your library needs an older version of react/NPM to function properly. So I need to downgrade my package so it can works fine.
any other solution would be appreciated.
personal_portfolio

@Rashed360
Copy link

While installing react-typical using the react version 17.0.2, I stumbled upon the following error, it seems that your library needs an older version of react/NPM to function properly. So I need to downgrade my package so it can works fine. any other solution would be appreciated. personal_portfolio

Did you find any solution?

@AmrAhmedA
Copy link
Author

While installing react-typical using the react version 17.0.2, I stumbled upon the following error, it seems that your library needs an older version of react/NPM to function properly. So I need to downgrade my package so it can works fine. any other solution would be appreciated. personal_portfolio

Did you find any solution?

Yes, I found out that the problem lies in the react-typical package it's self, it's peer dependencies has an older version of react, basically it needs that old version of react to function properly, you can install it via this command
$ npm i react-typical --legacy-peer-deps
--legacy-peer-deps tells NPM to ignore peer deps and proceed with the installation. it might cause some unwanted behavior. but I have tested it myself and it works fine with no unwanted behaviors.

@sridharrajaram
Copy link

While installing react-typical using the react version 17.0.2, I stumbled upon the following error, it seems that your library needs an older version of react/NPM to function properly. So I need to downgrade my package so it can works fine. any other solution would be appreciated. personal_portfolio

Did you find any solution?

Yes, I found out that the problem lies in the react-typical package it's self, it's peer dependencies has an older version of react, basically it needs that old version of react to function properly, you can install it via this command $ npm i react-typical --legacy-peer-deps --legacy-peer-deps tells NPM to ignore peer deps and proceed with the installation. it might cause some unwanted behavior. but I have tested it myself and it works fine with no unwanted behaviors.

Hi, I tried with $npm i react-typical --force. I see sometimes while rendering the timer running fast.

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

3 participants