# Setup of new app failing with Installing the dependencies failed.

**URL:** <https://community.dynatrace.com/t/setup-of-new-app-failing-with-installing-the-dependencies-failed/45340>\
**Category:** Developer Q&A Forum\
**Tags:** custom-app\
**Created:** [April 29, 2024, 1:40pm UTC](https://community.dynatrace.com/t/setup-of-new-app-failing-with-installing-the-dependencies-failed/45340 "2024-04-29T13:40:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![brett\_schubach1](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@brett\_schubach1](https://community.dynatrace.com/u/brett_schubach1)\
**Post date:** [April 29, 2024, 1:40pm UTC](https://community.dynatrace.com/t/setup-of-new-app-failing-with-installing-the-dependencies-failed/45340/1 "2024-04-29T13:40:10Z")

</div>

Hi All,

I have a new laptop and when I try to create a new app it fails with below. Is there something I am missing in the installation of Nodejs or a step I need to run to get it to work?

 ![brett_schubach1_0-1714397846335.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/8/c87c1b48d5f54a070a4a915db4f7a3d5c2794c72.png)

---

<div class="post-metadata">

**Author:** ![SarahFaustmann](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@SarahFaustmann](https://community.dynatrace.com/u/SarahFaustmann)\
**Post date:** [April 29, 2024, 2:11pm UTC](https://community.dynatrace.com/t/setup-of-new-app-failing-with-installing-the-dependencies-failed/45340/2 "2024-04-29T14:11:10Z")

</div>

Hi&nbsp;[@brett\_schubach1](https://community.dynatrace.com/user/38550),

I was able to create a new app using the same node and dt-app versions as you. Have you checked for [connectivity issues](https://developer.dynatrace.com/develop/troubleshooting/troubleshoot-connectivity-issues/)?

Kind regards,  
Sarah

---

<div class="post-metadata">

**Author:** ![brett\_schubach1](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@brett\_schubach1](https://community.dynatrace.com/u/brett_schubach1)\
**Post date:** [April 29, 2024, 3:13pm UTC](https://community.dynatrace.com/t/setup-of-new-app-failing-with-installing-the-dependencies-failed/45340/3 "2024-04-29T15:13:01Z")

</div>

[@SarahFaustmann](https://community.dynatrace.com/user/67610)&nbsp;I don’t believe it is an issue with connectivity I have ActiveGate and OneAGent running and they are running fine. Also if I copy an old application to my new laptop and run it it connects fine.&nbsp; On my old laptop, I get the same error when trying to create a new application but the old ones to the same tenant run 100% on that laptop I uninstalled the previous version 18 and after that no matter what I do it fails. I also tried with the trailing / in case that was the issue. I believe something is not right with the Nodejs as no matter which version I use it fails. But I am not sure why and I am not a Nodejs&nbsp; guru. 🙂

---

<div class="post-metadata">

**Author:** ![brett\_schubach1](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@brett\_schubach1](https://community.dynatrace.com/u/brett_schubach1)\
**Post date:** [April 29, 2024, 3:18pm UTC](https://community.dynatrace.com/t/setup-of-new-app-failing-with-installing-the-dependencies-failed/45340/4 "2024-04-29T15:18:45Z")

</div>

My install I chose

 ![brett_schubach1_0-1714403900275.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/6/c63b789bbdd7c4977da8a4ceda2fb0c7b9d27a6f.png)

I didn’t install this part

 ![brett_schubach1_1-1714403917878.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/2/a2e32e7b2941912a1ba4694f56996d71dbf02b76.png)

---

<div class="post-metadata">

**Author:** ![SarahFaustmann](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@SarahFaustmann](https://community.dynatrace.com/u/SarahFaustmann)\
**Post date:** [April 29, 2024, 4:44pm UTC](https://community.dynatrace.com/t/setup-of-new-app-failing-with-installing-the-dependencies-failed/45340/5 "2024-04-29T16:44:42Z")

</div>

Hi&nbsp;[@brett\_schubach1](https://community.dynatrace.com/user/38550),

One of the first steps in the connectivity troubleshooting guide I linked above is to [check if you can access the npm registry](https://developer.dynatrace.com/develop/troubleshooting/troubleshoot-connectivity-issues/#verify-access-to-the-npm-registry). Since the step that failed was installing dependencies, this may be your issue.

Kind regards,  
Sarah

---

<div class="post-metadata">

**Author:** ![brett\_schubach1](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@brett\_schubach1](https://community.dynatrace.com/u/brett_schubach1)\
**Post date:** [April 29, 2024, 8:01pm UTC](https://community.dynatrace.com/t/setup-of-new-app-failing-with-installing-the-dependencies-failed/45340/6 "2024-04-29T20:01:15Z")

</div>

[@SarahFaustmann](https://community.dynatrace.com/user/67610)&nbsp;Thank you for the troubleshooting steps but seems it is still not working. All the output I get is exactly like in the troubleshooting guide. Still failing with the same issue.

---

<div class="post-metadata">

**Author:** ![brett\_schubach1](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@brett\_schubach1](https://community.dynatrace.com/u/brett_schubach1)\
**Post date:** [April 29, 2024, 8:27pm UTC](https://community.dynatrace.com/t/setup-of-new-app-failing-with-installing-the-dependencies-failed/45340/7 "2024-04-29T20:27:33Z")

</div>

Here is an example of the logfile

2024-04-29T22:23:10.699Z DEBUG [TELEMETRY] Reporting event  
2024-04-29T22:23:11.554Z DEBUG [FILES] CREATED: C:\mediro\test\.vscode\launch.json (1.16 KB)  
2024-04-29T22:23:11.555Z DEBUG [FILES] CREATED: C:\mediro\test\.vscode\tasks.json (0.67 KB)  
2024-04-29T22:23:11.556Z DEBUG [FILES] undefined C:\mediro\test\package.json (1.48 KB)  
2024-04-29T22:23:11.556Z DEBUG [FILES] CREATED: C:\mediro\test\app.config.json (0.36 KB)  
2024-04-29T22:23:11.556Z DEBUG [FILES] CREATED: C:\mediro\test\.eslintignore (0.03 KB)  
2024-04-29T22:23:11.556Z DEBUG [FILES] CREATED: C:\mediro\test\.eslintrc (1.14 KB)  
2024-04-29T22:23:11.558Z DEBUG [FILES] CREATED: C:\mediro\test\.vscode\extensions.json (0.07 KB)  
2024-04-29T22:23:11.558Z DEBUG [FILES] CREATED: C:\mediro\test\README.md (1.59 KB)  
2024-04-29T22:23:11.558Z DEBUG [FILES] CREATED: C:\mediro\test\.gitignore (0.51 KB)  
2024-04-29T22:23:11.559Z DEBUG [FILES] CREATED: C:\mediro\test\src\app\App.tsx (0.55 KB)  
2024-04-29T22:23:11.560Z DEBUG [FILES] CREATED: C:\mediro\test\src\app\components\Card.tsx (1.65 KB)  
2024-04-29T22:23:11.560Z DEBUG [FILES] CREATED: C:\mediro\test\src\app\components\Header.tsx (0.41 KB)  
2024-04-29T22:23:11.561Z DEBUG [FILES] CREATED: C:\mediro\test\src\app\pages\Data.tsx (2.85 KB)  
2024-04-29T22:23:11.561Z DEBUG [FILES] CREATED: C:\mediro\test\src\app\pages\Home.tsx (1.42 KB)  
2024-04-29T22:23:11.561Z DEBUG [FILES] CREATED: C:\mediro\test\src\assets\.gitkeep (0.00 KB)  
2024-04-29T22:23:11.561Z DEBUG [FILES] CREATED: C:\mediro\test\src\assets\Dynatrace\_Logo.svg (2.37 KB)  
2024-04-29T22:23:11.562Z DEBUG [FILES] CREATED: C:\mediro\test\src\assets\community.png (9.70 KB)  
2024-04-29T22:23:11.562Z DEBUG [FILES] CREATED: C:\mediro\test\src\assets\community\_dark.png (9.76 KB)  
2024-04-29T22:23:11.563Z DEBUG [FILES] CREATED: C:\mediro\test\src\assets\data.png (5.57 KB)  
2024-04-29T22:23:11.563Z DEBUG [FILES] CREATED: C:\mediro\test\src\assets\data\_dark.png (8.27 KB)  
2024-04-29T22:23:11.563Z DEBUG [FILES] CREATED: C:\mediro\test\src\assets\devportal.png (13.10 KB)  
2024-04-29T22:23:11.564Z DEBUG [FILES] CREATED: C:\mediro\test\src\assets\devportal\_dark.png (13.73 KB)  
2024-04-29T22:23:11.564Z DEBUG [FILES] CREATED: C:\mediro\test\src\main.tsx (0.44 KB)  
2024-04-29T22:23:11.564Z DEBUG [FILES] CREATED: C:\mediro\test\tsconfig.eslint.json (0.07 KB)  
2024-04-29T22:23:11.565Z DEBUG [FILES] CREATED: C:\mediro\test\tsconfig.json (0.74 KB)  
2024-04-29T22:23:11.575Z ERROR Error: Installing the dependencies failed.  
Please try to run npm install

2024-04-29T22:23:11.575Z DEBUG [TELEMETRY] Reporting crash  
2024-04-29T22:23:11.575Z DEBUG [TELEMETRY] Closing OpenKit connection  
2024-04-29T22:23:11.798Z DEBUG [TELEMETRY] Successfully closed OpenKit connection

---

<div class="post-metadata">

**Author:** ![educampver](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/educampver/32/29917_2.png) [@educampver](https://community.dynatrace.com/u/educampver)\
**Post date:** [April 30, 2024, 8:16am UTC](https://community.dynatrace.com/t/setup-of-new-app-failing-with-installing-the-dependencies-failed/45340/8 "2024-04-30T08:16:30Z")

</div>

Hi&nbsp;[@brett\_schubach1](https://community.dynatrace.com/user/38550), from the logs, it looks like the app folders and files were created successfully, and only the dependencies installation failed. I also noticed you ran `npm install` in `C:\mediro` where there’s no `package.json`. You need to run it inside the app folder `C:\mediro\brett-test-app`.

I’m unsure what the issue might be, but running `npm install` in the app folder could work. If it still doesn’t, please check the troubleshooting section regarding proxies and firewalls&nbsp;[Troubleshoot connectivity | Dynatrace Developer](https://developer.dynatrace.com/develop/troubleshooting/troubleshoot-connectivity-issues/#connectivity-issues).

Best, Edu.

---

<div class="post-metadata">

**Author:** ![brett\_schubach1](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@brett\_schubach1](https://community.dynatrace.com/u/brett_schubach1)\
**Post date:** [April 30, 2024, 8:59am UTC](https://community.dynatrace.com/t/setup-of-new-app-failing-with-installing-the-dependencies-failed/45340/9 "2024-04-30T08:59:59Z")

</div>

Hi&nbsp;[@SarahFaustmann](https://community.dynatrace.com/user/67610)&nbsp;and&nbsp;[@educampver](https://community.dynatrace.com/user/47555)

It is very strange but I found the install of my old laptop&nbsp;node-v18.18.0-x64 and when I install this version and run it it works 100% barring that it saying it not a supported version but will investigate further as if&nbsp;I install&nbsp;node-v18.20.2-x64&nbsp; it also fails. I will update here if I find a solution

I went through these steps and every things outcome was the same as expected into the documentation.&nbsp;&nbsp;[Troubleshoot connectivity | Dynatrace Developer](https://developer.dynatrace.com/develop/troubleshooting/troubleshoot-connectivity-issues/?_ga=2.190054635.1705070410.1714378409-320103732.1713859963&_gac=1.148595525.1713866266.CjwKCAjwuJ2xBhA3EiwAMVjkVA7nxiXzmk6hxwsT7evW5NRgzHZyXE-At1srU1ngp87dTqmr099TRhoCevIQAvD_BwE#connectivity-issues)
