on 02-12-2021 3:16 PM
Hello everyone,
I have been trying to deploy my CAP Application in CF when I am facing a few errors.
The steps I followed are as follwos:
Creating application "ABC_LPR_ShiftAssignment-srv" from MTA module "ABC_LPR_ShiftAssignment-srv"...
Creating application "ABC_LPR_ShiftAssignment-app-router" from MTA module "ABC_LPR_ShiftAssignment-app-router"...
Creating application "ABC_LPR_ShiftAssignment-db-deployer" from MTA module "ABC_LPR_ShiftAssignment-db-deployer"...
Binding service instance "ABC_LPR_ShiftAssignment-db" to application "ABC_LPR_ShiftAssignment-srv"...
Binding service instance "ABC_LPR_ShiftAssignment-db" to application "ABC_LPR_ShiftAssignment-db-deployer"...
Binding service instance "ABC_LPR_ShiftAssignment_uaa" to application "ABC_LPR_ShiftAssignment-app-router"...
Uploading application "ABC_LPR_ShiftAssignment-app-router"...
Uploading application "ABC_LPR_ShiftAssignment-srv"...
Started async upload of application "ABC_LPR_ShiftAssignment-app-router"
Started async upload of application "ABC_LPR_ShiftAssignment-srv"
Uploading application "ABC_LPR_ShiftAssignment-db-deployer"...
Started async upload of application "ABC_LPR_ShiftAssignment-db-deployer"
Scaling application "ABC_LPR_ShiftAssignment-db-deployer" to "1" instances...
Scaling application "ABC_LPR_ShiftAssignment-srv" to "1" instances...
Scaling application "ABC_LPR_ShiftAssignment-app-router" to "1" instances...
Staging application "ABC_LPR_ShiftAssignment-srv"...
Staging application "ABC_LPR_ShiftAssignment-app-router"...
Staging application "ABC_LPR_ShiftAssignment-db-deployer"...
Error staging application "ABC_LPR_ShiftAssignment-srv": NoAppDetectedError - An app was not successfully detected by any available buildpack
Download the application logs via the dmol command and check them for more information.
A step of the process has failed. Retrying it may solve the issue.
Proceeding with automatic retry... (3 of 3 attempts left)
Staging application "ABC_LPR_ShiftAssignment-srv"...
Error staging application "ABC_LPR_ShiftAssignment-srv": NoAppDetectedError - An app was not successfully detected by any available buildpack
Download the application logs via the dmol command and check them for more information.
A step of the process has failed. Retrying it may solve the issue.
Application "ABC_LPR_ShiftAssignment-db-deployer" staged
Executing task "deploy" on application "ABC_LPR_ShiftAssignment-db-deployer"...
Proceeding with automatic retry... (2 of 3 attempts left)
Staging application "ABC_LPR_ShiftAssignment-srv"...
Error staging application "ABC_LPR_ShiftAssignment-srv": NoAppDetectedError - An app was not successfully detected by any available buildpack
Download the application logs via the dmol command and check them for more information.
A step of the process has failed. Retrying it may solve the issue.
Execution of task "deploy" on application "ABC_LPR_ShiftAssignment-db-deployer" failed.
Download the application logs via the dmol command and check them for more information.
A step of the process has failed. Retrying it may solve the issue.
Proceeding with automatic retry... (1 of 3 attempts left)
The Approuter is getting deployed , whereas the srv is not getting deployed.
Has anyone else faced the same issue? Any pointers on how to resolve this issue would be of great help.
Edit : I have also attached the screenshots of the project structure and the mta.yaml relevant code for reference.
Thanks,
Vishali
That error message means that the Cloud Foundry runtime couldn't determine which buildpack to use for the app. Usually that means that there is no package.json file in the module.
Please have a look at the module path in the mta.yaml and confirm that the package.json file is in there. It should be generated automatically from cds build but that behavior can be customized. Maybe that's what's happened.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.