<?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: Migration from dt-app 0.148.1 to dt-app 1.0.2 error (new project structure) in Custom Solutions Spotlight</title>
    <link>https://community.dynatrace.com/t5/Custom-Solutions-Spotlight/Migration-from-dt-app-0-148-1-to-dt-app-1-0-2-error-new-project/m-p/287811#M213</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;the solution to this problem is to remove every single "src" in your imports in the whole project. If you have an error with a src/ import in, it would return this error (instead of returning import error I guess)&lt;/P&gt;</description>
    <pubDate>Tue, 14 Oct 2025 07:45:13 GMT</pubDate>
    <dc:creator>Evan1</dc:creator>
    <dc:date>2025-10-14T07:45:13Z</dc:date>
    <item>
      <title>Migration from dt-app 0.148.1 to dt-app 1.0.2 error (new project structure)</title>
      <link>https://community.dynatrace.com/t5/Custom-Solutions-Spotlight/Migration-from-dt-app-0-148-1-to-dt-app-1-0-2-error-new-project/m-p/287738#M211</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've recently made the dependencies update of my custom app, with in it the new major version of dt-app. In the new version, there is a new project structure files, so I followed the migration guide of the wiki :&amp;nbsp;&lt;A href="https://developer.dynatrace.com/quickstart/app-toolkit/#migrating-from-v0x-to-v1x" target="_blank"&gt;https://developer.dynatrace.com/quickstart/app-toolkit/#migrating-from-v0x-to-v1x&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When I try to lunch my development app, i've got the error that I have the wrong files structure, but I don't see the problem. I tried to add empty `documents` and `actions` folders, or add a README.md in it but I still have this error :&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;✖ Building ui...

              Invalid project structure detected

              Your project uses an outdated file structure that is not supported in dt-app v1.0.
              To ensure compatibility and avoid build issues, please update your project structure.

              Required Changes:

              1. Configure sourceRoot in app.config.json:
                • Set "build.sourceRoot" to your desired source directory (default: "./")
                • Example: "build": { "sourceRoot": "src" }

              2. Organize your code using the standardized structure:
                &amp;lt;sourceRoot&amp;gt;/
                ├── ui/                     ← UI components and main.tsx
                │   ├── main.tsx
                │   └── tsconfig.json
                ├── api/                    ← App functions (*.function.ts)
                ├── actions/                ← Workflow actions (*.action.ts)
                ├── settings/               ← Settings widgets and schemas
                └── documents/              ← Document files

              Thank you for your support!&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Evan1_0-1760363058212.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30493i55C6A61F48411F8F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Evan1_0-1760363058212.png" alt="Evan1_0-1760363058212.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help by advance,&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Evan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 13:57:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Custom-Solutions-Spotlight/Migration-from-dt-app-0-148-1-to-dt-app-1-0-2-error-new-project/m-p/287738#M211</guid>
      <dc:creator>Evan1</dc:creator>
      <dc:date>2025-10-13T13:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from dt-app 0.148.1 to dt-app 1.0.2 error (new project structure)</title>
      <link>https://community.dynatrace.com/t5/Custom-Solutions-Spotlight/Migration-from-dt-app-0-148-1-to-dt-app-1-0-2-error-new-project/m-p/287742#M212</link>
      <description>&lt;P&gt;PS : I've also tried to add the suggested build.sourceRoot option in my app.config.json but doesn't work&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"build": {
    "sourceRoot": "./"
  }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 13:59:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Custom-Solutions-Spotlight/Migration-from-dt-app-0-148-1-to-dt-app-1-0-2-error-new-project/m-p/287742#M212</guid>
      <dc:creator>Evan1</dc:creator>
      <dc:date>2025-10-13T13:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from dt-app 0.148.1 to dt-app 1.0.2 error (new project structure)</title>
      <link>https://community.dynatrace.com/t5/Custom-Solutions-Spotlight/Migration-from-dt-app-0-148-1-to-dt-app-1-0-2-error-new-project/m-p/287811#M213</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;the solution to this problem is to remove every single "src" in your imports in the whole project. If you have an error with a src/ import in, it would return this error (instead of returning import error I guess)&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 07:45:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Custom-Solutions-Spotlight/Migration-from-dt-app-0-148-1-to-dt-app-1-0-2-error-new-project/m-p/287811#M213</guid>
      <dc:creator>Evan1</dc:creator>
      <dc:date>2025-10-14T07:45:13Z</dc:date>
    </item>
  </channel>
</rss>

