# Error building app

**URL:** <https://community.dynatrace.com/t/error-building-app/49461>\
**Category:** Developer Q&A Forum\
**Tags:** custom-app\
**Created:** [December 20, 2024, 3:10pm UTC](https://community.dynatrace.com/t/error-building-app/49461 "2024-12-20T15:10:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![qfwfq](https://avatars.discourse-cdn.com/v4/letter/q/8e8cbc/32.png) [@qfwfq](https://community.dynatrace.com/u/qfwfq)\
**Post date:** [December 20, 2024, 3:10pm UTC](https://community.dynatrace.com/t/error-building-app/49461/1 "2024-12-20T15:10:06Z")

</div>

Hello.

I’m trying to create a demo app, following the [documentation](https://developer.dynatrace.com/quickstart/first-app-in-5-minutes/) instructions.

When I run (node 20.18.1 LTS, npm 11.0.0)

```markup
npx dt-app@latest create

```

I got a lot of errors ; among them to include [this log](https://drive.google.com/file/d/1wwXcGOnB4BQXlawllxM3Fn3xxZLPo2DJ/view?usp=drive_link) when opening a support case (which I did but dynatrace support redicected me here).

If instead I use latest node 22.12.10 node LTS (npm 10.9.0) I first get this warning the warning bellow&nbsp;also followed by a long list of errors, and the log in this case is [here](https://drive.google.com/file/d/15Z0Oxr-n9bZWXSt5RtnG7hJ69T33MKu5/view?usp=drive_link).

 ![qfwfq_0-1734707376893.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/a/1adc19f38a546bc89bde19225072764c8783a5a4.png)

Could somebody please help?

Thanks a lot in advance.

Adrián  
[npm-debug-22.12.0.log](https://community.dynatrace.com/uploads/short-url/joOSxUYhm4eFfOxmFrzm3fVxrxZ.log) (1.38 MB)  
[npm-debug-20.18.1.log](https://community.dynatrace.com/uploads/short-url/aRRVy6m1lChRZP1FKlMmi5KbzQz.log) (1.47 MB)

---

<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:** [December 23, 2024, 2:00pm UTC](https://community.dynatrace.com/t/error-building-app/49461/2 "2024-12-23T14:00:39Z")

</div>

Hi&nbsp;Adrián,

can you please run and share output of:&nbsp;npx dt-app dev --verbose

Thanks.

---

<div class="post-metadata">

**Author:** ![qfwfq](https://avatars.discourse-cdn.com/v4/letter/q/8e8cbc/32.png) [@qfwfq](https://community.dynatrace.com/u/qfwfq)\
**Post date:** [December 23, 2024, 2:40pm UTC](https://community.dynatrace.com/t/error-building-app/49461/3 "2024-12-23T14:40:58Z")

</div>

Hi Haris.

The command crashed generating the report, as you can see in the third line from bellow.

I attach the command output (node 20.18.1).

Thank you very much.

Best regards.  
[npx dt-app d-20.18.1.txt](https://community.dynatrace.com/uploads/short-url/xjZ1V9NbzQj4Bt2410EOuDtA10M.txt) (3.43 KB)

---

<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:** [January 7, 2025, 2:23pm UTC](https://community.dynatrace.com/t/error-building-app/49461/4 "2025-01-07T14:23:56Z")

</div>

Hi Adrian, I’ve checked and couldn’t find much here.

Can you paste a screenshot of the errors you see after entering the environment URL please? Also, I’ve tried replicating on my machine and I couldn’t reproduce the errors.

 ![image.png](https://global.discourse-cdn.com/dynatrace/original/2X/e/eee207624a67ee356d4d7faec1b1d87758d6ff6f.png)

---

<div class="post-metadata">

**Author:** ![dawid\_rampalski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dawid_rampalski/32/6015_2.png) [@dawid\_rampalski](https://community.dynatrace.com/u/dawid_rampalski)\
**Post date:** [January 8, 2025, 11:29am UTC](https://community.dynatrace.com/t/error-building-app/49461/5 "2025-01-08T11:29:26Z")

</div>

One note here:

```auto
418150 verbose stack Error: Unsupported URL Type: npm:@swc/helpers@=0.4.14
418150 verbose stack at parseUrl (/disco_mecanico/temp/dynatrace/node_modules/npm/node_modules/npm-package-arg/npa.js:169:13)
418150 verbose stack at npa (/disco_mecanico/temp/dynatrace/node_modules/npm/node_modules/npm-package-arg/npa.js:75:12)
418150 verbose stack at resolver (/disco_mecanico/temp/dynatrace/node_modules/npm/lib/install.js:845:42)
418150 verbose stack at Timeout._onTimeout (/disco_mecanico/temp/dynatrace/node_modules/npm/lib/install.js:840:7)
418150 verbose stack at listOnTimeout (node:internal/timers:594:17)
418150 verbose stack at process.processTimers (node:internal/timers:529:7)
418151 verbose cwd /disco_mecanico/temp/dynatrace/app-2212
418152 error Linux 6.1.0-28-amd64
418153 error argv "/home/adi/.nvm/versions/node/v22.12.0/bin/node" "/disco_mecanico/temp/dynatrace/node_modules/.bin/npm" "install"
418154 error node v22.12.0
418155 error npm v2.15.12
418156 error Unsupported URL Type: npm:@swc/helpers@=0.4.14
418157 error If you need help, you may report this error at:
418157 error <https://github.com/npm/npm/issues>
418158 verbose exit [1, true]

```

It seems to be reporting old npm v2.15.12 so there is a dependency issue somewhere in the dev env - maybe deleting dir /disco\_mecanico/temp/dynatrace/ and running create again would help?

---

<div class="post-metadata">

**Author:** ![qfwfq](https://avatars.discourse-cdn.com/v4/letter/q/8e8cbc/32.png) [@qfwfq](https://community.dynatrace.com/u/qfwfq)\
**Post date:** [January 8, 2025, 12:23pm UTC](https://community.dynatrace.com/t/error-building-app/49461/6 "2025-01-08T12:23:24Z")

</div>

Hi Dawis.

I deleted the directory and now I’ve been able to build the app.

Thank you very much to you and Haris.

Best regards.
