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.
haris
2
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?
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.
@helton_harada, yeah, I was about to text the same you said.
So, @karineG, test the Helton’s solution because is good one.
Regards
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