sap-tutorials / Issues

Creative Commons Attribution 4.0 International
8 stars 5 forks source link

Prepare SAP Build Work Zone, Standard Edition Setup - Error #716

Open mpaltanwale opened 1 year ago

mpaltanwale commented 1 year ago

This tutorial step no. 13 fails and the Application 'cpapp-db-deployer' can not be started from the SAP BTP Cockpit

STEP 13 - Re-build and re-deploy the .mtar file

mbt build -t ./ cf deploy cpapp_1.0.0.mtar

The error message is:

Deploying content module "cpapp-destinations" in target service "cpapp-destination"... Content deployment for module "cpapp-destinations" to resource "cpapp-destination" failed: Module "cpapp-destinations" does not have any associated content for deployment. Make sure that inline content is defined correctly in the parameters of the module, or that the MANIFEST.MF file contains a section for this module. Process failed.

The package.json and mta.yml for the project are attached.

OPERATION.log

package.json

{ "name": "cpapp", "version": "1.0.0", "description": "A simple CAP project.", "repository": "", "license": "UNLICENSED", "private": true, "dependencies": { "@sap/cds": "^6", "express": "^4", "hdb": "^0.19.0", "@sap/xssec": "^3", "passport": "^0" }, "devDependencies": { "@sap/ux-specification": "^1.108.6", "sqlite3": "^5", "rimraf": "^3.0.2" }, "engines": { "node": "^16" }, "scripts": { "start": "cds-serve", "watch-risks": "cds watch --open risks/webapp/index.html?sap-ui-xx-viewCache=false", "watch-mitigations": "cds watch --open mitigations/webapp/index.html?sap-ui-xx-viewCache=false", "undeploy": "cf undeploy cpapp --delete-services --delete-service-keys --delete-service-brokers", "build": "rimraf resources mta_archives && mbt build --mtar archive", "deploy": "cf deploy mta_archives/archive.mtar --retries 1" }, "sapux": [ "app/risks" ], "cds": { "requires": { "[production]": { "db": { "kind": "hana-cloud" }, "auth": { "kind": "xsuaa" } }, "db": { "kind": "sql" } } } }

mta.yml:

_schema-version: "3.1" ID: cpapp description: A simple CAP project. version: 1.0.0 modules: