<?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>Question Re: Deploy Typescript-SAPUI5 Application to BTP in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/deploy-typescript-sapui5-application-to-btp/qaa-p/14310820#M4935411</link>
    <description>and also dont forget to do a npm i ui5-task-zipper if not already available. so in total just do a : npm i ui5-task-zipper ui5-tooling-transpile ui5-tooling-modules --save-dev</description>
    <pubDate>Tue, 20 Jan 2026 07:39:02 GMT</pubDate>
    <dc:creator>ikenna_okeke</dc:creator>
    <dc:date>2026-01-20T07:39:02Z</dc:date>
    <item>
      <title>Deploy Typescript-SAPUI5 Application to BTP</title>
      <link>https://community.sap.com/t5/technology-q-a/deploy-typescript-sapui5-application-to-btp/qaq-p/13799599</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am trying to deploy a SAPUI5&amp;nbsp;(Fiori) Application to the Business Technology Platform. The Application was built with Typescript, will be deployed via the managed approuter and does not contain a CAP-Service.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For a SAPUI5 Application that uses Javascript, I used a combination of the following commands&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;from the&lt;STRONG&gt; package.json&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="bash"&gt;mbt build --mtar &amp;lt;projectname&amp;gt;.mtar  &amp;amp;&amp;amp; cf deploy mta_archives/&amp;lt;projectname&amp;gt;.mtar --abort-on-error --retries 0&lt;/LI-CODE&gt;&lt;P&gt;from the &lt;STRONG&gt;mta.yaml&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="yaml"&gt;[...]

commands:
    - npm install
    - npm run build:cf

[...]&lt;/LI-CODE&gt;&lt;P&gt;This resulted in a build version of the app beeing created in the &lt;STRONG&gt;/dist&lt;/STRONG&gt;-folder, containing a zipped file&amp;nbsp; &lt;STRONG&gt;&amp;lt;applicationname&amp;gt;.zip&lt;/STRONG&gt;, that is created via the custom Task:&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;ui5-task-zipper&lt;/STRONG&gt; defined in the &lt;STRONG&gt;ui5.yaml&lt;/STRONG&gt;. As part of the deployment process, this file is copied to the &lt;STRONG&gt;/resources&lt;/STRONG&gt;-folder and from there deployed to the BTP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Now with Typescript&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;I am using the same command in the&lt;STRONG&gt; package.json&lt;/STRONG&gt;. But with the following ones in the &lt;STRONG&gt;mta.yaml&lt;/STRONG&gt;:&lt;/P&gt;&lt;LI-CODE lang="yaml"&gt;[...]

commands:
    - npm install
    - ui5 build --all --clean-dest

[...]&lt;/LI-CODE&gt;&lt;P&gt;This results in a correctly built typescript application in the &lt;STRONG&gt;/dist&lt;/STRONG&gt;-folder, but is missing the &lt;STRONG&gt;.zip&lt;/STRONG&gt;-version, because the&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;ui5-task-zipper &lt;/STRONG&gt;is not executed from the &lt;STRONG&gt;ui5.yaml&lt;/STRONG&gt;. (So obviously no file can be copied to the &lt;STRONG&gt;resources&lt;/STRONG&gt;-folder)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I now add the configuration from the &lt;STRONG&gt;ui5.yaml&lt;/STRONG&gt; by adapting the script:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="yaml"&gt;[...]

commands:
    - npm install
    - ui5 build --all --clean-dest --config ui5.yaml

[...]&lt;/LI-CODE&gt;&lt;P&gt;The&amp;nbsp;&lt;STRONG&gt;ui5-task-zipper &lt;/STRONG&gt;creates a "normal" SAPUI5-application in the &lt;STRONG&gt;/dist&lt;/STRONG&gt;-folder, missing the conversion from typescript to javascript, but with a &lt;STRONG&gt;.zip&lt;/STRONG&gt;-file. If this version is deployed, the application will can not be started, because it contains a Component.&lt;STRONG&gt;ts &lt;/STRONG&gt;instead of a Component&lt;STRONG&gt;.js.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me how the correct deployment process looks like?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 14:29:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/deploy-typescript-sapui5-application-to-btp/qaq-p/13799599</guid>
      <dc:creator>lukasmetzger</dc:creator>
      <dc:date>2024-08-19T14:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Typescript-SAPUI5 Application to BTP</title>
      <link>https://community.sap.com/t5/technology-q-a/deploy-typescript-sapui5-application-to-btp/qaa-p/13802287#M4842465</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;SPAN&gt;for the people who face a similar issue. I was able to solve the described one by adding missing tasks to the &lt;/SPAN&gt;&lt;STRONG&gt;ui5.yaml&lt;/STRONG&gt;&lt;SPAN&gt;, so that the &lt;/SPAN&gt;&lt;STRONG&gt;customTasks&lt;/STRONG&gt;&lt;SPAN&gt;-section&amp;nbsp;looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="yaml"&gt;customTasks:
  - name: ui5-tooling-modules-task
    afterTask: replaceVersion
    configuration:
      addToNamespace: true
  - name: ui5-tooling-transpile-task
    afterTask: replaceVersion
  - name: ui5-task-zipper
    afterTask: generateCachebusterInfo
    configuration:
      archiveName: &amp;lt;your_projectname&amp;gt;
      additionalFiles:
      - xs-app.json&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 11:47:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/deploy-typescript-sapui5-application-to-btp/qaa-p/13802287#M4842465</guid>
      <dc:creator>lukasmetzger</dc:creator>
      <dc:date>2024-08-21T11:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Typescript-SAPUI5 Application to BTP</title>
      <link>https://community.sap.com/t5/technology-q-a/deploy-typescript-sapui5-application-to-btp/qaa-p/14237848#M4928620</link>
      <description>Hi Thank you this was really helpful @ lukasmetzger. Also Users should make sure to install the tooling module or the tooling transpile if you dont have them already to avoid errors using for the tooling modules: npm install ui5-tooling-modules --save-dev or the tooling transpile task using: npm install ui5-tooling-transpile --save-dev</description>
      <pubDate>Wed, 08 Oct 2025 06:42:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/deploy-typescript-sapui5-application-to-btp/qaa-p/14237848#M4928620</guid>
      <dc:creator>ikenna-okeke</dc:creator>
      <dc:date>2025-10-08T06:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Typescript-SAPUI5 Application to BTP</title>
      <link>https://community.sap.com/t5/technology-q-a/deploy-typescript-sapui5-application-to-btp/qaa-p/14310820#M4935411</link>
      <description>and also dont forget to do a npm i ui5-task-zipper if not already available. so in total just do a : npm i ui5-task-zipper ui5-tooling-transpile ui5-tooling-modules --save-dev</description>
      <pubDate>Tue, 20 Jan 2026 07:39:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/deploy-typescript-sapui5-application-to-btp/qaa-p/14310820#M4935411</guid>
      <dc:creator>ikenna_okeke</dc:creator>
      <dc:date>2026-01-20T07:39:02Z</dc:date>
    </item>
  </channel>
</rss>

