<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Create a App Error in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Create-a-App-Error/m-p/243865#M860</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-04-24 11-51-23_Start.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19387i31B5730F4F7C9046/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-04-24 11-51-23_Start.png" alt="2024-04-24 11-51-23_Start.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to build an App using the tutorials available at&amp;nbsp;&lt;A href="https://developer.dynatrace.com/getting-started/quickstart" target="_blank" rel="noopener"&gt;https://developer.dynatrace.com/getting-started/quickstart&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The first error was due to the following line where npm folder was not created after node js installed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error is&amp;nbsp;&lt;/P&gt;&lt;P&gt;npm ERR! code ENOENT&lt;BR /&gt;npm ERR! syscall lstat&lt;BR /&gt;npm ERR! path C:\Users\XXXX\AppData\Roaming\npm&lt;BR /&gt;npm ERR! errno -4058&lt;BR /&gt;npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\XXXX\AppData\Roaming\npm'&lt;BR /&gt;npm ERR! enoent This is related to npm not being able to find a file.&lt;BR /&gt;npm ERR! enoent&lt;/P&gt;&lt;P&gt;After manually creating the npm folder,&lt;FONT color="#000000"&gt;However, The process finally fails with the following error.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Searching for template repositories...Error reading repository archive: TypeError: fetch failed&lt;BR /&gt;at node:internal/deps/undici/undici:12344:11&lt;BR /&gt;at process.processTicksAndRejections (node:internal/process/task_queues:95:5)&lt;BR /&gt;at async by (C:\Users\XXXX\AppData\Local\npm-cache\_npx\c71cbee634d2345c\node_modules\dt-app\lib\src\bin.js:145:3921)&lt;BR /&gt;at async wy (C:\Users\XXXX\AppData\Local\npm-cache\_npx\c71cbee634d2345c\node_modules\dt-app\lib\src\bin.js:145:3662)&lt;BR /&gt;at async dp (C:\Users\XXXX\AppData\Local\npm-cache\_npx\c71cbee634d2345c\node_modules\dt-app\lib\src\bin.js:145:4865)&lt;BR /&gt;at async up (C:\Users\XXXX\AppData\Local\npm-cache\_npx\c71cbee634d2345c\node_modules\dt-app\lib\src\bin.js:148:182)&lt;BR /&gt;at async Command.&amp;lt;anonymous&amp;gt; (C:\Users\XXXX\AppData\Local\npm-cache\_npx\c71cbee634d2345c\node_modules\dt-app\lib\src\bin.js:178:1336) {&lt;BR /&gt;cause: Error: read ECONNRESET&lt;BR /&gt;at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) {&lt;BR /&gt;errno: -4077,&lt;BR /&gt;code: 'ECONNRESET',&lt;BR /&gt;syscall: 'read'&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;× Searching for template repositories...&lt;BR /&gt;&lt;FONT color="#993300"&gt;Error: Could not retrieve templates from the template repository.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;The order of execution of the steps can be seen in the screenshot attached.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Node JS Version is V20.11.0&amp;nbsp;&lt;/P&gt;&lt;P&gt;Windows 10 OS 64 bit&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, Was just wondering if I need to do any steps after Node Js (V20.11.0) is installed ?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2024 17:38:23 GMT</pubDate>
    <dc:creator>DD_Developer</dc:creator>
    <dc:date>2024-04-24T17:38:23Z</dc:date>
    <item>
      <title>Create a App Error</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Create-a-App-Error/m-p/243865#M860</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-04-24 11-51-23_Start.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19387i31B5730F4F7C9046/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-04-24 11-51-23_Start.png" alt="2024-04-24 11-51-23_Start.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to build an App using the tutorials available at&amp;nbsp;&lt;A href="https://developer.dynatrace.com/getting-started/quickstart" target="_blank" rel="noopener"&gt;https://developer.dynatrace.com/getting-started/quickstart&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The first error was due to the following line where npm folder was not created after node js installed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error is&amp;nbsp;&lt;/P&gt;&lt;P&gt;npm ERR! code ENOENT&lt;BR /&gt;npm ERR! syscall lstat&lt;BR /&gt;npm ERR! path C:\Users\XXXX\AppData\Roaming\npm&lt;BR /&gt;npm ERR! errno -4058&lt;BR /&gt;npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\XXXX\AppData\Roaming\npm'&lt;BR /&gt;npm ERR! enoent This is related to npm not being able to find a file.&lt;BR /&gt;npm ERR! enoent&lt;/P&gt;&lt;P&gt;After manually creating the npm folder,&lt;FONT color="#000000"&gt;However, The process finally fails with the following error.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Searching for template repositories...Error reading repository archive: TypeError: fetch failed&lt;BR /&gt;at node:internal/deps/undici/undici:12344:11&lt;BR /&gt;at process.processTicksAndRejections (node:internal/process/task_queues:95:5)&lt;BR /&gt;at async by (C:\Users\XXXX\AppData\Local\npm-cache\_npx\c71cbee634d2345c\node_modules\dt-app\lib\src\bin.js:145:3921)&lt;BR /&gt;at async wy (C:\Users\XXXX\AppData\Local\npm-cache\_npx\c71cbee634d2345c\node_modules\dt-app\lib\src\bin.js:145:3662)&lt;BR /&gt;at async dp (C:\Users\XXXX\AppData\Local\npm-cache\_npx\c71cbee634d2345c\node_modules\dt-app\lib\src\bin.js:145:4865)&lt;BR /&gt;at async up (C:\Users\XXXX\AppData\Local\npm-cache\_npx\c71cbee634d2345c\node_modules\dt-app\lib\src\bin.js:148:182)&lt;BR /&gt;at async Command.&amp;lt;anonymous&amp;gt; (C:\Users\XXXX\AppData\Local\npm-cache\_npx\c71cbee634d2345c\node_modules\dt-app\lib\src\bin.js:178:1336) {&lt;BR /&gt;cause: Error: read ECONNRESET&lt;BR /&gt;at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) {&lt;BR /&gt;errno: -4077,&lt;BR /&gt;code: 'ECONNRESET',&lt;BR /&gt;syscall: 'read'&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;× Searching for template repositories...&lt;BR /&gt;&lt;FONT color="#993300"&gt;Error: Could not retrieve templates from the template repository.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;The order of execution of the steps can be seen in the screenshot attached.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Node JS Version is V20.11.0&amp;nbsp;&lt;/P&gt;&lt;P&gt;Windows 10 OS 64 bit&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, Was just wondering if I need to do any steps after Node Js (V20.11.0) is installed ?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 17:38:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Create-a-App-Error/m-p/243865#M860</guid>
      <dc:creator>DD_Developer</dc:creator>
      <dc:date>2024-04-24T17:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create a App Error</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Create-a-App-Error/m-p/243880#M862</link>
      <description>&lt;P&gt;More details : Tried both ways with and without the templates parameter.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;npx dt-app@latest create --environment-url &lt;A href="https://{environmentid}.apps.dynatrace.com" target="_blank"&gt;https://{environmentid}.apps.dynatrace.com&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;npx dt-app@latest create --environment-url &lt;A href="https://{environmentid}.apps.dynatrace.com" target="_blank"&gt;https://{environmentid}.apps.dynatrace.com&lt;/A&gt; --template empty&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 24 Apr 2024 18:22:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Create-a-App-Error/m-p/243880#M862</guid>
      <dc:creator>DD_Developer</dc:creator>
      <dc:date>2024-04-24T18:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create a App Error</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Create-a-App-Error/m-p/243893#M863</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/74990"&gt;@DD_Developer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like github is blocked by a firewall. can you maybe run this command in the windows terminal and check if the connection check was successful?&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;gt; tnc github.com -port 443


ComputerName     : github.com
RemoteAddress    : 140.82.121.3
RemotePort       : 443
InterfaceAlias   : Ethernet 2
SourceAddress    : &amp;lt;private ip&amp;gt;
TcpTestSucceeded : True&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if github is blocked, you could try to use an older version of the dt-app toolkit which does not rely on github&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;npx dt-app@0.115.5 create&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;Sini&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 19:56:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Create-a-App-Error/m-p/243893#M863</guid>
      <dc:creator>sinisa_zubic</dc:creator>
      <dc:date>2024-04-24T19:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create a App Error</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Create-a-App-Error/m-p/243896#M864</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/38283"&gt;@sinisa_zubic&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot. The command below worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;npx dt-app@0.115.5 create&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May it helps for other users,&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Command Window, The following command didn't work , The same command worked fine with TCPVariableSucceeded attribute as true in PowerShell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; tnc github.com -port 443&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 20:11:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Create-a-App-Error/m-p/243896#M864</guid>
      <dc:creator>DD_Developer</dc:creator>
      <dc:date>2024-04-24T20:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create a App Error</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Create-a-App-Error/m-p/247278#M949</link>
      <description>&lt;P&gt;Having same issue, following command shows me that i have access to github, but npx command is failing&lt;/P&gt;&lt;P&gt;nc -vz github.com 443&lt;BR /&gt;Connection to github.com port 443 [tcp/https://{environmentid}.apps.dynatrace.com" target=_blank&amp;gt;https://{environmentid}.apps.dynatrace.com&lt;BR /&gt;Searching for template repositories...Error reading repository archive: TypeError: fetch failed&lt;BR /&gt;at node:internal/deps/undici/undici:12502:13&lt;BR /&gt;at process.processTicksAndRejections (node:internal/process/task_queues:95:5)&lt;BR /&gt;at async Jy (/Users/lidsc82/.npm/_npx/c71cbee634d2345c/node_modules/dt-app/lib/src/bin.js:146:3975)&lt;BR /&gt;at async Hy (/Users/lidsc82/.npm/_npx/c71cbee634d2345c/node_modules/dt-app/lib/src/bin.js:146:3693)&lt;BR /&gt;at async Sp (/Users/lidsc82/.npm/_npx/c71cbee634d2345c/node_modules/dt-app/lib/src/bin.js:146:4935)&lt;BR /&gt;at async Ep (/Users/lidsc82/.npm/_npx/c71cbee634d2345c/node_modules/dt-app/lib/src/bin.js:149:182)&lt;BR /&gt;at async Command.&amp;lt;anonymous&amp;gt; (/Users/lidsc82/.npm/_npx/c71cbee634d2345c/node_modules/dt-app/lib/src/bin.js:179:1360) {&lt;BR /&gt;[cause]: Error: read ECONNRESET&lt;BR /&gt;at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {&lt;BR /&gt;errno: -54,&lt;BR /&gt;code: 'ECONNRESET',&lt;BR /&gt;syscall: 'read'&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 20:37:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Create-a-App-Error/m-p/247278#M949</guid>
      <dc:creator>avinashpodisett</dc:creator>
      <dc:date>2024-06-03T20:37:40Z</dc:date>
    </item>
  </channel>
</rss>

