cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to stage build: Start command not specified - CAP

06-17-2021 4:58 PM
Saif Product and Topic Expert
7157 views 5 comments
SAP Managed Tags
Subscribe

Hi Folks,

Trying to deploy a CAP application as described here - DEV Tutorial. While this works fine on BAS, deployment on CF fails for the service module with error as: StagingError - Staging error: Start command not specified

Logs:

2021-06-17T14:50:26.02+0000 [API/140] ERR Failed to stage build: Start command not specified

2021-06-17T14:50:01.24+0000 [STG/0] ERR No start command specified by buildpack or via Procfile. 2021-06-17T14:50:01.24+0000 [STG/0] ERR App will not start unless a command is provided at runtime.

Tried explicitly giving a command with a task to run npm / node index.js in mta, which didnt work either.

Any idea?

Regards

Saif

Accepted Solutions (0)

Answers (1)

Answers (1)

ramachandra_motati
Product and Topic Expert
Product and Topic Expert
0 Likes

I am having the same issue.

Can you please post your package.json file or project hierarchy so I can relate it and resolve the same.

Thanks