PS C:UsersDellOneDriveDocumentsInternshalaCloneclient> npm install firebase
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @testing-library/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! peerOptional react@”^16.9.0 || ^17.0.0 || ^18″ from @reduxjs/[email protected]
npm ERR! node_modules/@reduxjs/toolkit
npm ERR! @reduxjs/toolkit@”^2.2.7″ from the root project
npm ERR! peer react@”17.0.2″ from [email protected]
npm ERR! node_modules/react-dom
npm ERR! peer react-dom@”^16 || ^17″ from [email protected]
npm ERR! node_modules/react-google-login
npm ERR! react-google-login@”^5.2.2″ from the root project
npm ERR! peer react-dom@”>=16.8″ from [email protected]
npm ERR! node_modules/react-router-dom
npm ERR! react-router-dom@”^6.26.0″ from the root project
npm ERR! 1 more (the root project)
npm ERR! 9 more (react-google-login, react-hook-form, react-icons, …)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@”^18.0.0″ from @testing-library/[email protected]
npm ERR! node_modules/@testing-library/react
npm ERR! @testing-library/react@”^13.4.0″ from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react
npm ERR! peer react@”^18.0.0″ from @testing-library/[email protected]
npm ERR! node_modules/@testing-library/react
npm ERR! @testing-library/react@”^13.4.0″ 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!
npm ERR! For a full report see:
npm ERR! C:UsersDellAppDataLocalnpm-cache_logs2024-08-02T15_50_04_074Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: C:UsersDellAppDataLocalnpm-cache_logs2024-08-02T15_50_04_074Z-debug-0.log
PS C:UsersDellOneDriveDocumentsInternshalaCloneclient>
Not able to install firebase
Aditi Arya is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.