You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got this error when I tried to install @testing-library/[email protected]
I got same error when I tried to install latest version. I thought It would be resolved If I choose legacy one( version 9.0.0) but got the same error.
It is my first time thinking about these peer dependencies seriously.
I want to install without --force or --legacy-peer-deps
I cannot understand why it is looking for peer react@"^18.2.0" from [email protected]
Maybe I'm losing some basic things...
npm install --save-dev @testing-library/[email protected]
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"18.0.0" from the root project
npm ERR! peer react@">=16.0.0" from @testing-library/[email protected]
npm ERR! node_modules/@testing-library/react-native
npm ERR! dev @testing-library/react-native@"9.0.0" from the root project
npm ERR! 1 more (react-native)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^18.2.0" from [email protected]
npm ERR! node_modules/react-test-renderer
npm ERR! dev react-test-renderer@"^18.0.0" from the root project
npm ERR! peer react-test-renderer@">=16.0.0" from @testing-library/[email protected]
npm ERR! node_modules/@testing-library/react-native
npm ERR! dev @testing-library/react-native@"9.0.0" from the root project
Ask your Question
I got this error when I tried to install @testing-library/[email protected]
I got same error when I tried to install latest version. I thought It would be resolved If I choose legacy one( version 9.0.0) but got the same error.
It is my first time thinking about these peer dependencies seriously.
I want to install without --force or --legacy-peer-deps
I cannot understand why it is looking for
peer react@"^18.2.0" from [email protected]
Maybe I'm losing some basic things...
here is my dependencies
The text was updated successfully, but these errors were encountered: