0

I have a little problem with my new react app and I would like to know what can I do to fix it?

I think it's a minor problem but I'm not seeing it so sorry for bothering you guys.

(Btw, don't mind the name Pinterbest, it's a practice work, I'm not going to publish it for real lol)

Here's the logs when updating packages:

`npm ERR! code ERESOLVE

npm ERR! ERESOLVE could not resolve

npm ERR!

npm ERR! While resolving: react-google-login@5.2.2

npm ERR! Found: react@18.2.0

npm ERR! node_modules/react

npm ERR! react@"^18.2.0" from the root project

npm ERR! peer react@"^18.0.0" from u/testing-library/react@13.4.0

npm ERR! node_modules/@testing-library/react

npm ERR! u/testing-library/react@"^13.4.0" from the root project

npm ERR! 8 more (react-dom, react-icons, react-loader-spinner, ...)

npm ERR!

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

npm ERR!

npm ERR! Fix the upstream dependency conflict, or retry

npm ERR! this command with --force, or --legacy-peer-deps

npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

npm ERR!

npm ERR! See C:\Users\user\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:

npm ERR! C:\Users\user\AppData\Local\npm-cache_logs\2022-11-04T15_02_24_966Z-debug-0.log`

I tryed to install packages following a tutorial and then got these logs.

TheFish
  • 1
  • 3

0 Answers0