cancel
Showing results for 
Search instead for 
Did you mean: 

BuildpackCompileFailed - App staging failed in the buildpack compile phase while deploy CAPM

durgaprasanth_vemula
Participant
0 Kudos

Hi,

While I am deploying the CAPM project in BTP from the Business Application studio and getting the below error.

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

And attatching the mta.yaml file and attaching the package-lock.json

package.txt

yaml.txt

chgeo
Advisor
Advisor
0 Kudos

Please provide the full error log.

durgaprasanth_vemula
Participant
0 Kudos

christian.georgi

Hi,

Please find the attached Error log.

errorlog.txt

chgeo
Advisor
Advisor
0 Kudos

Thanks, but for the above error, the logs for material-srv are be more relevant. Please execute `cf logs material-srv --recent` and attach this log.

durgaprasanth_vemula
Participant
0 Kudos

Hi Christian Georgi

Please find the atatched recent logs for material-srv.

Thanks

Durga Prasanthmaterial-srv-errorlog.txt

durgaprasanth_vemula
Participant
0 Kudos

christian.georgi

Hi,

Could you please help me as you have requested the execute cf logs material-srv --recent and i executed and attaching the logmaterial-srv-errorlog.txt

Accepted Solutions (0)

Answers (1)

Answers (1)

chgeo
Advisor
Advisor
0 Kudos

From the logs

   2023-02-02T08:03:13.83+0000 [STG/0] OUT npm ERR! code ENOTFOUND
2023-02-02T08:03:13.83+0000 [STG/0] OUT npm ERR! syscall getaddrinfo
2023-02-02T08:03:13.83+0000 [STG/0] OUT npm ERR! errno ENOTFOUND
2023-02-02T08:03:13.83+0000 [STG/0] OUT npm ERR! network request to http://nginx-redirector.repo-cache.svc.cluster.local/repository/appstudio-npm-group/hdb/-/hdb-0.19.5... failed, reason: getaddrinfo ENOTFOUND nginx-redirector.repo-cache.svc.cluster.local
2023-02-02T08:03:13.83+0000 [STG/0] OUT npm ERR! network This is a problem related to network connectivity.

This is a network issue, likely caused by the nginx-redirector.repo-cache.svc.cluster.local host in your package-lock.json. This got there by Business Application Studio's setting. See this post for how to resolve it.