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

Installation failed in react 18.2.0 #21

Open
Onseted opened this issue Aug 11, 2022 · 2 comments
Open

Installation failed in react 18.2.0 #21

Onseted opened this issue Aug 11, 2022 · 2 comments

Comments

@Onseted
Copy link

Onseted commented Aug 11, 2022

There is peer dependency error for react 18.2.0

I like to ask whether there are any trouble by installing with --force command and also updating plan for current react version.
npm ERR! Could not resolve dependency: npm ERR! peer react@"^16 || ^17" from react-google-login@5.2.2 npm ERR! node_modules/react-google-login npm ERR! react-google-login@"^5.2.2" from the root project npm ERR! npm ERR! Conflicting peer dependency: react@17.0.2 npm ERR! node_modules/react npm ERR! peer react@"^16 || ^17" from react-google-login@5.2.2 npm ERR! node_modules/react-google-login npm ERR! react-google-login@"^5.2.2" from the root project

@VijayMeena701
Copy link

the issue is related to react-google-login@5.2.2 and not react-simple-star-rating. the package expects react versions 16 or 17. you can override react versions in your package json as the versions of react dont really matter for this package.

@awran5
Copy link
Owner

awran5 commented Oct 3, 2022

All dependencies has been updated to the latest versions. As of peer dependency, it's >=18.0.0 now.

@VijayMeena701 Thank you.

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