cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment project failed - App staging failed in the buildpack compile phase

former_member664593
Participant
14,101

Hi everyone.

I'm trying to deploy an application on SAP Cloud Foundry through MTA Project, but I get this error:

Error staging application "MyApp": BuildpackCompileFailed - App staging failed in the buildpack compile phase

I try to add this on my mta.yaml file

modules:
  - name: MyApp
    type: html5
    path: MyApp
    parameters:
      disk-quota: 512M
      memory: 256M
      buildpack: https://github.com/cloudfoundry/nodejs-buildpack/releases/download/v1.6.21/nodejs-buildpack-v1.6.21....

Thanks in advance.

Jimmy.

View Entire Topic
0 Kudos

Hi,

I am facing the exact issue, can I know if this got resolved and how you did it?

Thanks.

former_member664593
Participant
0 Kudos

Hi Shruthi.

Well, I forgot update my solution in this post, but my MTA.yaml has this code:

  - name: MyApp
    type: html5
    path: MyApp
    build-parameters:
      builder: custom
      commands:
        - npm install
        - npm run build
      supported-platforms: []
      build-result: dist