Setup in Windows for Development

// i get error after npm install, please help me to setup joplin in my laptop for development

PS D:\webdfiles\project\joplin> npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @ joplin/app-desktop@ 2.10.5
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR! react@"18.2.0" from @ joplin/app-desktop@2.10.5
npm ERR! packages/app-desktop
npm ERR! @ joplin/app-desktop@2.10.5
npm ERR! node_modules/@ joplin/app-desktop
npm ERR! workspace packages\app-desktop from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.9.0 || ^17.0.0" from @ testing-library/react-hooks@8.0.1
npm ERR! node_modules/@ testing-library/react-hooks
npm ERR! dev @ testing-library/react-hooks@"8.0.1" from @ joplin/app-desktop@2.10.5
npm ERR! packages/app-desktop
npm ERR! @ joplin/app-desktop@2.10.5
npm ERR! node_modules/@ joplin/app-desktop
npm ERR! workspace packages\app-desktop 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\SUMAN SAURABH\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\SUMAN SAURABH\AppData\Local\npm-cache_logs\2023-02-13T10_12_49_400Z-debug-0.log
PS D:\webdfiles\project\joplin>

Did you check the log it tells you to check?

log has data of installed files name and time which is sucessfully installed by npm install, here i m getting conflict between react version dependencies

npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps

after appling this both command, my problem is not resolved, im getting other errors with a tons of deprecated warnings

npm ERR! code 1
npm ERR! path D:\webdfiles\project\joplin\packages\app-desktop
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c yarn run build
npm ERR! Usage Error: Couldn't find the node_modules state file - running an install might help (findPackageLocation)
npm ERR!
npm ERR! $ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] ...