<?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 Re: Error While Deploying App | Dynatrace App Developer in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-While-Deploying-App-Dynatrace-App-Developer/m-p/270135#M1312</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/57428"&gt;@haris&lt;/a&gt;&amp;nbsp;for the input.&lt;BR /&gt;But in my case i was using node version 23 and AppToolkit uses Version 22 LTE. When I reverted back to version 22 LTE, the issue automatically fixed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-02-15 163404.PNG" style="width: 714px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26427i05F2C5E34C5725B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-02-15 163404.PNG" alt="Screenshot 2025-02-15 163404.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 15 Feb 2025 12:36:28 GMT</pubDate>
    <dc:creator>zaid-bashir</dc:creator>
    <dc:date>2025-02-15T12:36:28Z</dc:date>
    <item>
      <title>Error While Deploying App | Dynatrace App Developer</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-While-Deploying-App-Dynatrace-App-Developer/m-p/269998#M1306</link>
      <description>&lt;P&gt;Hello, community members!&lt;/P&gt;&lt;P&gt;I was testing an app, and it worked fine. However, when I attempted to deploy it, the build was successful, but the deployment failed.&lt;/P&gt;&lt;P&gt;Here’s the exact error I encountered:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zaidbashir_0-1739445458389.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26403i6B8F7EEF5A2C2453/image-size/large?v=v2&amp;amp;px=999" role="button" title="zaidbashir_0-1739445458389.png" alt="zaidbashir_0-1739445458389.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 11:19:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-While-Deploying-App-Dynatrace-App-Developer/m-p/269998#M1306</guid>
      <dc:creator>zaid-bashir</dc:creator>
      <dc:date>2025-02-13T11:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Deploying App | Dynatrace App Developer</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-While-Deploying-App-Dynatrace-App-Developer/m-p/270016#M1307</link>
      <description>&lt;P&gt;Hi Zeid,&lt;/P&gt;
&lt;P&gt;Usually, Dynatrace dependencies that use SDK clients, for example:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/64071"&gt;@dynatrace&lt;/a&gt;-sdk/react-hooks&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;have a dependency range in place. For example,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;"@dynatrace-sdk/client-davis-analyzers": "&amp;gt;=1.8.0"&lt;/CODE&gt;, which accepts everything above and equal to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;1.8.0&lt;/CODE&gt;.&lt;BR /&gt;If you update or add a library that contains for example,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;&amp;gt;=1.8.0&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;version&amp;nbsp;&lt;/SPAN&gt;of a client, it will lead to adding the latest available version of the SDK client if you don't have the SDK client in the required version already in your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;package.json&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;package-lock.json&lt;/CODE&gt;. The latest SDK version might be incompatible with the cluster.&lt;/P&gt;
&lt;H3&gt;How can you resolve the issue&lt;/H3&gt;
&lt;P&gt;There are some steps you can do:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Check which libraries are using the client&lt;/STRONG&gt;&lt;BR /&gt;Simply run&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;npm list &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/64071"&gt;@dynatrace&lt;/a&gt;-sdk/{your-incompatible-client}&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and this will show you, where the client is used. Inside the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;package.json&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the library that uses the client, you'll find the dependency range (&lt;CODE&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/64071"&gt;@dynatrace&lt;/a&gt;-sdk/react-hooks&lt;/CODE&gt;example:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;{
  "name": "@dynatrace-sdk/react-hooks",
  "version": "1.0.0",
  "license": "Apache-2.0",
  "dependencies": {
    "@dynatrace-sdk/client-davis-analyzers": "&amp;gt;=1.8.0",
    "@dynatrace-sdk/client-document": "&amp;gt;=1.20.0",
    "@dynatrace-sdk/client-state": "&amp;gt;=1.7.0",
    "@dynatrace-sdk/client-query": "&amp;gt;=1.17.0",
    "@dynatrace-sdk/app-utils": "&amp;gt;=1.0.0",
    "@dynatrace-sdk/client-app-settings": "&amp;gt;=1.8.0"
  },
  "devDependencies": {
    "react": "^17.0.0",
    "@types/react": "^17.0.80",
    "@testing-library/react": "^12.1.2",
    "@testing-library/react-hooks": "^7.0.2",
    "react-dom": "^17.0.0"
  },
  "peerDependencies": {
    "react": "^17.0.0 || ^18.0.0"
  }
}&lt;/LI-CODE&gt;
&lt;P&gt;).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Check if it's possible to downgrade the client.&lt;/STRONG&gt;&lt;BR /&gt;If you have e.g.,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;1.8.2&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;installed and the range says&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;&amp;gt;=1.8.0&lt;/CODE&gt;, you could downgrade to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;1.8.0&lt;/CODE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Check which SDK version relates to which service version&lt;/STRONG&gt;&lt;BR /&gt;Within the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://bitbucket.lab.dynatrace.org/projects/APPFW/repos/dynatrace-sdk/browse/services.json" target="_blank" rel="noopener noreferrer"&gt;services.json&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file in the dynatrace-sdk repo, you can see which SDK version relates to which service version. The key in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;supportedSdkVersions&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is the service version and the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;ts&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;array in it tells you which SDK client versions are compatible with it. If your client SDK version relates to a service version that is lower or equal than the deployed service version, you will not run into any problems.&lt;BR /&gt;If you just want to see which service version your current installed SDK client relates to, you can simply go into your node_modules folder and look at the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;dynatrace-metadata.json&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the lib.&lt;/P&gt;
&lt;DIV id="tinyMceEditor_3ea8a1a3beacc9haris_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 989px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26406iD71F88E71F485A62/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Downgrade the client (if possible)&lt;/STRONG&gt;&lt;BR /&gt;If you are able to downgrade your SDK client, you can simply call&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;npm i -E &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/64071"&gt;@dynatrace&lt;/a&gt;-sdk/{your-client}&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(&lt;CODE&gt;-E&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to save the exact version, without&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;^&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;beforehand). This will update your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;package.json&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;package-lock.json&lt;/CODE&gt;. The lock file is the important one. You don't need to explicitly add the client to your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;package.json&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file but it would be a nice to have, to have a quick overview of which client is installed and a sub-depndency could not "easily" bump the client without your notice (you will probably not look in your lock file after updates).&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Let me know if that works out for you and if you need any additional help.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Haris&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 13:38:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-While-Deploying-App-Dynatrace-App-Developer/m-p/270016#M1307</guid>
      <dc:creator>haris</dc:creator>
      <dc:date>2025-02-13T13:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Deploying App | Dynatrace App Developer</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-While-Deploying-App-Dynatrace-App-Developer/m-p/270135#M1312</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/57428"&gt;@haris&lt;/a&gt;&amp;nbsp;for the input.&lt;BR /&gt;But in my case i was using node version 23 and AppToolkit uses Version 22 LTE. When I reverted back to version 22 LTE, the issue automatically fixed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-02-15 163404.PNG" style="width: 714px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26427i05F2C5E34C5725B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-02-15 163404.PNG" alt="Screenshot 2025-02-15 163404.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2025 12:36:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-While-Deploying-App-Dynatrace-App-Developer/m-p/270135#M1312</guid>
      <dc:creator>zaid-bashir</dc:creator>
      <dc:date>2025-02-15T12:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Deploying App | Dynatrace App Developer</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-While-Deploying-App-Dynatrace-App-Developer/m-p/270201#M1313</link>
      <description>&lt;P&gt;Hi Zaid,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am happy to hear the issue has been resolved. For future reference, you can always check here which Node version is supported for latest toolkit:&amp;nbsp;&lt;A href="https://developer.dynatrace.com/quickstart/first-app-in-5-minutes/#:~:text=The%20latest%20Node.js%20LTS%20version" target="_blank"&gt;https://developer.dynatrace.com/quickstart/first-app-in-5-minutes/#:~:text=The%20latest%20Node.js%20LTS%20version&lt;/A&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you have any more questions, please let me know.&lt;/P&gt;
&lt;P&gt;Best, Haris&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 08:45:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-While-Deploying-App-Dynatrace-App-Developer/m-p/270201#M1313</guid>
      <dc:creator>haris</dc:creator>
      <dc:date>2025-02-17T08:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Deploying App | Dynatrace App Developer</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-While-Deploying-App-Dynatrace-App-Developer/m-p/270368#M1318</link>
      <description>&lt;P&gt;Funny solution - with-no-box&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MostafaHussein_0-1739907626646.png" style="width: 780px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26482i5D1D5E69A3A38D4C/image-dimensions/780x386?v=v2" width="780" height="386" role="button" title="MostafaHussein_0-1739907626646.png" alt="MostafaHussein_0-1739907626646.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 19:43:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-While-Deploying-App-Dynatrace-App-Developer/m-p/270368#M1318</guid>
      <dc:creator>MostafaHussein</dc:creator>
      <dc:date>2025-02-18T19:43:39Z</dc:date>
    </item>
  </channel>
</rss>

