# create app : Error: Failed to create a new project:

**URL:** <https://community.dynatrace.com/t/create-app-error-failed-to-create-a-new-project/50641>\
**Category:** Developer Q&A Forum\
**Tags:** custom-app\
**Created:** [March 10, 2025, 5:09pm UTC](https://community.dynatrace.com/t/create-app-error-failed-to-create-a-new-project/50641 "2025-03-10T17:09:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![karineG](https://avatars.discourse-cdn.com/v4/letter/k/8797f3/32.png) [@karineG](https://community.dynatrace.com/u/karineG)\
**Post date:** [March 10, 2025, 5:09pm UTC](https://community.dynatrace.com/t/create-app-error-failed-to-create-a-new-project/50641/1 "2025-03-10T17:09:58Z")

</div>

Hello,

I’ve executed this command :

npx dt-app@latest create --template-dir C:\Users\a179841\OneDrive - Alliance\Documents\Dynatrace\dt-app-templates-main/templates/default

And I have this error :

Error: Failed to create a new project: An app with the same name already exists in the directory

Thanks for your help

Karine.

---

<div class="post-metadata">

**Author:** ![haris](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/haris/32/38293_2.png) [@haris](https://community.dynatrace.com/u/haris)\
**Post date:** [March 11, 2025, 11:37am UTC](https://community.dynatrace.com/t/create-app-error-failed-to-create-a-new-project/50641/2 "2025-03-11T11:37:14Z")

</div>

Hi Karine,

Can you please take a screenshot of your terminal once this error happens and also of the directory contents where you’re executing the command?

---

<div class="post-metadata">

**Author:** ![helton\_harada](https://avatars.discourse-cdn.com/v4/letter/h/b487fb/32.png) [@helton\_harada](https://community.dynatrace.com/u/helton_harada)\
**Post date:** [April 18, 2025, 4:08pm UTC](https://community.dynatrace.com/t/create-app-error-failed-to-create-a-new-project/50641/3 "2025-04-18T16:08:01Z")

</div>

Problably, you have already tested before, and you are using the same name for the App (for exemple “my-first-app”).

When it happened to me, I just deleted the entire folder of the app created before. Or just give a new name for the next app.

---

<div class="post-metadata">

**Author:** ![MaximilianoML](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/maximilianoml/32/25038_2.png) [@MaximilianoML](https://community.dynatrace.com/u/MaximilianoML)\
**Post date:** [April 23, 2025, 2:18pm UTC](https://community.dynatrace.com/t/create-app-error-failed-to-create-a-new-project/50641/4 "2025-04-23T14:18:42Z")

</div>

[@helton\_harada](https://community.dynatrace.com/user/60747), yeah, I was about to text the same you said.

So,&nbsp;[@karineG](https://community.dynatrace.com/user/87758), test the Helton’s solution because is good one.

Regards

---

<div class="post-metadata">

**Author:** ![karineG](https://avatars.discourse-cdn.com/v4/letter/k/8797f3/32.png) [@karineG](https://community.dynatrace.com/u/karineG)\
**Post date:** [June 5, 2025, 9:26am UTC](https://community.dynatrace.com/t/create-app-error-failed-to-create-a-new-project/50641/5 "2025-06-05T09:26:17Z")

</div>

Hello,

Sorry for my late reply.

It was actually a problem with the directory.

I used a one drive directory.

Finally, I installed the project in a local directory and it’s ok now.

Regards

Karine
