Trying to create first app on trial subscription

I’m following the instruction on First app in 5 minutes | Dynatrace Developer to create my first app in 5 minutes. But I cannot proceed as I can’t connect with the Dynatrace server to get the file I need… I think.

I checked the version. But when I input the first command into my terminal, this happens:

Your environment has been set up for using Node.js 21.6.0 (x64) and npm.

C:\Users\Shenice>npx dt-app create
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Users\Shenice\AppData\Roaming\npm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat ‘C:\Users\Shenice\AppData\Roaming\npm’
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in: C:\Users\Shenice\AppData\Local\npm-cache\_logs\2024-01-22T16_14_04_063Z-debug-0.log

@PennyScully Do I need a file before I start to create?

Hi,

This is node version problem. I replicated your issue and I needed to downgrade version to node v20.11.0 (64-bit) .

In DT documentation you can see that “For enterprise production environments, we recommend that you stick to LTS”

Node.js — Dynatrace Docs.

You can easily manage version by this app:

Best Regards :slightly_smiling_face:

Hi. I’ve replaced the Nodejs with the 21.11.00 LTS version and I’m still getting the same error message. Thoughts?

Hi,

Can you share logs? Also did you change version or only install it? You can validate it writing node --version in terminal