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

App installation failed with dependencies failed error.

Akhil-Jayendran
Participant

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?

AkhilJayendran_0-1720416810834.png

 

Thank you in advance,

Akhil Jayendran

10 REPLIES 10

islam_zidan
Champion

Hello,

What happen if you run npm install?

Dynatrace Certified Professional - Dynatrace Partner - Yourcompass.ca

Hello @islam_zidan 

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, 

https://developer.dynatrace.com/develop/troubleshooting/troubleshoot-connectivity-issues/#install-th...

 

Thanks,

Islam

Dynatrace Certified Professional - Dynatrace Partner - Yourcompass.ca

educampver
Dynatrace Advisor
Dynatrace Advisor

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.

Akhil-Jayendran
Participant

Hi @educampver  @islam_zidan ,

 

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

 

AkhilJayendran_0-1720446535698.png

 

Where I can find which dependencies are failing ? 

 

Regards,

Akhil Jayendran

educampver
Dynatrace Advisor
Dynatrace Advisor

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".

Akhil-Jayendran
Participant

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 

Featured Posts