20 Dec 2024 03:10 PM - last edited on 23 Dec 2024 07:32 AM by MaciejNeumann
Hello.
I’m trying to create a demo app, following the documentation instructions.
When I run (node 20.18.1 LTS, npm 11.0.0)
npx dt-app@latest create
I got a lot of errors ; among them to include this log 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 also followed by a long list of errors, and the log in this case is here.
Could somebody please help?
Thanks a lot in advance.
Adrián
Solved! Go to Solution.
23 Dec 2024 02:00 PM
Hi Adrián,
can you please run and share output of: npx dt-app dev --verbose
Thanks.
23 Dec 2024 02:40 PM
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.
07 Jan 2025 02:23 PM - edited 07 Jan 2025 02:30 PM
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.
08 Jan 2025 11:29 AM
One note here:
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?
08 Jan 2025 12:23 PM
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.