22 Jan 2024 04:19 PM - last edited on 23 Jan 2024 08:28 AM by MaciejNeumann
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?
Solved! Go to Solution.
22 Jan 2024 06:02 PM
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"
You can easily manage version by this app:
https://github.com/coreybutler/nvm-windows?tab=readme-ov-file
Best Regards 🙂
23 Jan 2024 10:58 AM
Hi. I've replaced the Nodejs with the 21.11.00 LTS version and I'm still getting the same error message. Thoughts?
23 Jan 2024 11:00 AM
Hi,
Can you share logs? Also did you change version or only install it? You can validate it writing node --version in terminal