Trying to install dependencies but its showing error. i also tried npm install --legacy-peer-deps and --force but still getting error
PS C:\Users\Sunil\Documents\project1\Source code\project1> npm update
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: project1@0.1.0
npm ERR! Found: react@16.14.0
npm ERR! node_modules/react
npm ERR! react@"^16.13.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.2" from @pancakeswap-libs/uikit@0.29.4
npm ERR! node_modules/@pancakeswap-libs/uikit
npm ERR! @pancakeswap-libs/uikit@"^0.29.4" 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\Sunil\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\Sunil\AppData\Local\npm-cache\_logs\2022-09-18T17_19_34_939Z-debug-0.log
when i tried npm install --legacy-peer-deps it shows
removed 1 package, changed 2 packages, and audited 2411 packages in 21s
231 packages are looking for funding
run `npm fund` for details
45 vulnerabilities (1 low, 8 moderate, 27 high, 9 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues possible (including breaking changes), run:
npm audit fix --force
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.