on 06-17-2021 3:58 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.