It is my first time to clone react project from github
i did:
$ git clone <link>
after that:
npm install
but i faced an error with google-maps-react
$ npm install --save google-maps-react
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @iso/here@4.0.0
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR! react@"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"~0.14.8 || ^15.0.0 || ^16.0.0" from google-maps-react@2.0.6
npm ERR! node_modules/google-maps-react
npm ERR! google-maps-react@"^2.0.6" 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.
i tried:
$ npm cache clean --force
$ npm install -g npm
,:
$npm config set legacy-peer-deps true
,:
npm install --force
,:
npm install --save --legacy-peer-deps
,:
rm -rf node_modules
and more ..
node js version:
16.13.2
react version:
17.0.2
npm version:
8.4.1
nothing seem to work
am i missing something?