App installation failed with dependencies failed error.

Hi Team ,

I am trying to develop a new app, but it is failing with the error below. Any idea what the error could be?

Thank you in advance,

Akhil Jayendran

Hello,

What happen if you run npm install?

Hello @Islam_Zedan

It is showing up to date.

c:\my_test>npm install

up to date, audited 65 packages in 1s

12 packages are looking for funding
run `npm fund` for details

found 0 vulnerabilities

Regards,

Akhil Jayendran

Hello @Akhil-Jayendran

Please update the nodejs to the v20.15.0 version and try again,

Thanks,

Islam

Hi @Akhil-Jayendran, from your last message it seems that npm install worked, are you still having issues? Can you share the output of npm start? Additionally feel free to check out our connectivity issues guide.

Hi @educampver  @Islam_Zedan ,

Nothing worked. Getting same error even after use v20.15.0 and npm install .

Where I can find which dependencies are failing ?

Regards,

Akhil Jayendran

I now see something I missed before, you must run npm install in the folder created by the CLI. In this case it would be /myapp, please try running npm install in that folder.

Hi @educampver ,

Thank your for your input, I have installed the npm  under the folder myapp  and try to start the  development server it automatically opens the url, but getting 404 error. Anything I missed here ?

Error 404 – We can’t find this page – Dynatrace

Regards,

Akhil Jayendran

Hi @Akhil-Jayendran,

The link you’ve shared is missing an environment url.

This environment can be set during the setup process by adding a flag to the command like so:

npx dt-app@latest create --environment-url https://your_environment_url_placeholder

It can still be added and modified later on in the projects’ app.config.json file with the following line:

"environmentUrl": https://your_environment_url_placeholder

Alternatively, if you’re using Visual Studio Code, you can download the Dynatrace extension and change it under “Configure your app” > “Environment Url”.

Hi @StefanKern ,

Thank you for the information provided above. Do we need a DPS license enabled to work with the app, or can we test it with a free trial or any playground available for test ?

Regards,

Akhil Jayendran

Hi @Akhil-Jayendran

You can get started creating an app in our playground environment:  https://wkf10640.apps.dynatrace.com/

Within this environment you will be able to create and test your app, however you will not be able to deploy your app.

Hope this helps.

Thanks, Penny