cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Trying to create first app on trial subscription

shenicebarcelon
Frequent Guest

I'm following the instruction on https://developer.dynatrace.com/getting-started/quickstart/ 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? 

 

3 REPLIES 3

Hi,

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

Pawel_Zalewski_0-1705946378320.png

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

https://docs.dynatrace.com/docs/setup-and-configuration/technology-support/application-software/node....

You can easily manage version by this app:

https://github.com/coreybutler/nvm-windows?tab=readme-ov-file

Best Regards 🙂

"The lions does not ally with the coyotes"

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

"The lions does not ally with the coyotes"

Featured Posts