<?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: Staging error while deploying Angular Application on Cloud Foundry with nodejs buildpack. in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/staging-error-while-deploying-angular-application-on-cloud-foundry-with/qaa-p/12392337#M4637696</link>
    <description>&lt;P&gt;Thanks a lot  &lt;SPAN class="mention-scrubbed"&gt;ivan.mirisola&lt;/SPAN&gt; . I used staticfile_buildpack and it worked !!&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jun 2021 14:55:32 GMT</pubDate>
    <dc:creator>former_member681876</dc:creator>
    <dc:date>2021-06-17T14:55:32Z</dc:date>
    <item>
      <title>Staging error while deploying Angular Application on Cloud Foundry with nodejs buildpack.</title>
      <link>https://community.sap.com/t5/technology-q-a/staging-error-while-deploying-angular-application-on-cloud-foundry-with/qaq-p/12392335</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I want to deploy my Angular Application with on-premise(ABAP System) as backend to SAP Cloud Foundry.&lt;/P&gt;
  &lt;P&gt;My manifest.yml file looks like this.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;applications:
- name: app-angular
  memory: 512M
  disk_quota: 1024M
  instances: 1
  buildpack: nodejs_buildpack
  services:
    - destination_service
    - uaa_service
    - connectivity_service&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I am using cf CLI to deploy the app.&lt;/P&gt;
  &lt;P&gt;When I execute 'cf push' command, I am facing this error:&lt;/P&gt;
  &lt;BLOCKQUOTE&gt; 
   &lt;PRE&gt;&lt;CODE&gt;-----&amp;gt; Building dependenciesInstalling node modules (package.json)

Error staging application: App staging failed in the buildpack compile phaseFAILED&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;/BLOCKQUOTE&gt;
  &lt;P&gt;Can you please help me resolve this error. If its related to node version, please let me know how to determine the correct one.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 05:25:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/staging-error-while-deploying-angular-application-on-cloud-foundry-with/qaq-p/12392335</guid>
      <dc:creator>former_member681876</dc:creator>
      <dc:date>2021-04-05T05:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Staging error while deploying Angular Application on Cloud Foundry with nodejs buildpack.</title>
      <link>https://community.sap.com/t5/technology-q-a/staging-error-while-deploying-angular-application-on-cloud-foundry-with/qaa-p/12392336#M4637695</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;shruthiumashankar&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Please change you manifest.yml file to use buildpack '&lt;STRONG&gt;staticfile_buildpack&lt;/STRONG&gt;' instead of nodejs.&lt;/P&gt;&lt;P&gt;The nodejs buildpack is used for pure node applications whereas angular is precompiled and depends only on a server to provide the files to the end user. Static File implements an Nginx server that will serve the static html files to the browser. &lt;/P&gt;&lt;P&gt;If you are interested on working with an MTA type project, you could use nodejs module with the SAP AppRouter application (which runs on NodeJS). In its configuration file xs-app.json you would add a route to the static folder inside that module where you have the Angular precompiled files.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Ivan&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 20:31:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/staging-error-while-deploying-angular-application-on-cloud-foundry-with/qaa-p/12392336#M4637695</guid>
      <dc:creator>Ivan-Mirisola</dc:creator>
      <dc:date>2021-04-09T20:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Staging error while deploying Angular Application on Cloud Foundry with nodejs buildpack.</title>
      <link>https://community.sap.com/t5/technology-q-a/staging-error-while-deploying-angular-application-on-cloud-foundry-with/qaa-p/12392337#M4637696</link>
      <description>&lt;P&gt;Thanks a lot  &lt;SPAN class="mention-scrubbed"&gt;ivan.mirisola&lt;/SPAN&gt; . I used staticfile_buildpack and it worked !!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 14:55:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/staging-error-while-deploying-angular-application-on-cloud-foundry-with/qaa-p/12392337#M4637696</guid>
      <dc:creator>former_member681876</dc:creator>
      <dc:date>2021-06-17T14:55:32Z</dc:date>
    </item>
  </channel>
</rss>

