# Error : Maximum call stack stack exceeded when i run the command d2 app scripts init app in windows

**URL:** <https://community.dhis2.org/t/error-maximum-call-stack-stack-exceeded-when-i-run-the-command-d2-app-scripts-init-app-in-windows/53906>\
**Category:** App Development\
**Created:** [10 July 2023 12:55 UTC](https://community.dhis2.org/t/error-maximum-call-stack-stack-exceeded-when-i-run-the-command-d2-app-scripts-init-app-in-windows/53906 "2023-07-10T12:55:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Rene](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/rene/32/36035_2.png) [@Rene](https://community.dhis2.org/u/Rene)\
**Post date:** [10 July 2023 13:02 UTC](https://community.dhis2.org/t/error-maximum-call-stack-stack-exceeded-when-i-run-the-command-d2-app-scripts-init-app-in-windows/53906/2 "2023-07-10T13:02:56Z")

</div>

Hi @Yambanso_Kausiwa, welcome to the community!

Does this topic solve the problem for you?

> [@RangeError: Maximum call stack size exceeded when I run the command d2 app scripts init myfirstdhis2app](https://community.dhis2.org/t/rangeerror-maximum-call-stack-size-exceeded-when-i-run-the-command-d2-app-scripts-init-myfirstdhis2app/53291):
>
> Hi, I am a DHIS2 beginner creating my first DHIS2 app. However, when I run the command d2 app scripts init myfirstdhis2app I get this error: RangeError: Maximum call stack size exceeded \*\* at Object.existsSync (node:fs:301:20)\*\* \*\* at findYarnLock (C:\Users\kawis\AppData\Roaming\npm\node\_modules@dhis2\cli\node\_modules@dhis2\cli-app-scripts\src\lib\paths.js:16:12)\*\* My d2 version is 4.2.3 My yarn version is 3.5.1 I am a newbie and I have no idea how to solve this. Any help would be a…

---

_[View the full topic](https://community.dhis2.org/t/error-maximum-call-stack-stack-exceeded-when-i-run-the-command-d2-app-scripts-init-app-in-windows/53906)._
