# Setup in Windows for Development

**URL:** <https://discourse.joplinapp.org/t/setup-in-windows-for-development/29542>\
**Category:** Development\
**Created:** [13 February 2023 10:20 UTC](https://discourse.joplinapp.org/t/setup-in-windows-for-development/29542 "2023-02-13T10:20:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sumansaurabh](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/sumansaurabh/32/16223_2.png) [@sumansaurabh](https://discourse.joplinapp.org/u/sumansaurabh)\
**Post date:** [13 February 2023 10:20 UTC](https://discourse.joplinapp.org/t/setup-in-windows-for-development/29542/1 "2023-02-13T10:20:54Z")

</div>

// 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\>

---

<div class="post-metadata">

**Author:** ![roman\_r\_m](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/roman_r_m/32/3297_2.png) [@roman\_r\_m](https://discourse.joplinapp.org/u/roman_r_m)\
**Post date:** [13 February 2023 10:31 UTC](https://discourse.joplinapp.org/t/setup-in-windows-for-development/29542/2 "2023-02-13T10:31:59Z")

</div>

> [@sumansaurabh](#):
>
> npm ERR! A complete log of this run can be found in:  
> npm ERR! C:\Users\SUMAN SAURABH\AppData\Local\npm-cache\_logs

Did you check the log it tells you to check?

---

<div class="post-metadata">

**Author:** ![sumansaurabh](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/sumansaurabh/32/16223_2.png) [@sumansaurabh](https://discourse.joplinapp.org/u/sumansaurabh)\
**Post date:** [13 February 2023 13:23 UTC](https://discourse.joplinapp.org/t/setup-in-windows-for-development/29542/3 "2023-02-13T13:23:45Z")

</div>

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] ...

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [12 February 2025 13:24 UTC](https://discourse.joplinapp.org/t/setup-in-windows-for-development/29542/4 "2025-02-12T13:24:42Z")

</div>

Closed on 12 February 2025 13:24 UTC

This topic was automatically closed 730 days after the last reply. New replies are no longer allowed.
