Skip to Content
0
Jan 12 at 07:26 AM

DMS Fiori application with MTA deploy error

136 Views Last edit Jan 12 at 07:28 AM 3 rev

Hi,

I tried to MTA deploy my DMS Fiori application but got an error.

I've already searched and followed a lot of solutions, but they didn't work.

I already made a file '.npmrc' with registry=https://registry.npmjs.com/

And I changed my package.json

{
"name": "mta-project",
"version": "0.0.1",
"description": "Build and deployment scripts",
"scripts": {
"clean": "rimraf resources mta_archives mta-op*",
"build": "rimraf resources mta_archives && mbt build --mtar archive",
"deploy": "cf deploy mta_archives/archive.mtar --retries 1",
"undeploy": "cf undeploy btpdms_fiori --delete-services --delete-service-keys --delete-service-brokers"
},
"devDependencies": {
"mbt": "^1.2.18",
"rimraf": "^3.0.2"
},
"engines": {
"node":"^12.0.0 || ^ 14.0.0"
}
}

And package-lock.json too (npm js URL)

      "node_modules/ajv": {
"version": "6.12.6",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
"integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
"dev": true,
"license": "MIT",
"dependencies": {
"fast-deep-equal": "^3.1.1",
"fast-json-stable-stringify": "^2.0.0",
"json-schema-traverse": "^0.4.1",
"uri-js": "^4.2.2"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/epoberezkin"
}
},
"node_modules/asn1": {
"version": "0.2.6",
"resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz",
"integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"safer-buffer": "~2.1.0"
}
},
"node_modules/assert-plus": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
"integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=0.8"
}
},

This is my error.
Can anyone help this error?

Started async upload of application "btpdms-fiori-approuter"
Scaling application "btpdms-fiori-approuter" to "1" instances... 
Staging application "btpdms-fiori-approuter"...
Error staging application "btpdms-fiori-approuter": BuildpackCompileFailed - App staging failed in the buildpack compile phase
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 "btpdms-fiori-approuter"...
Error staging application "btpdms-fiori-approuter": BuildpackCompileFailed - App staging failed in the buildpack compile phase
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... (2 of 3 attempts left)
Staging application "btpdms-fiori-approuter"...
Error staging application "btpdms-fiori-approuter": BuildpackCompileFailed - App staging failed in the buildpack compile phase
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)
Staging application "btpdms-fiori-approuter"...
Error staging application "btpdms-fiori-approuter": BuildpackCompileFailed - App staging failed in the buildpack compile phase
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.
Process failed.<br>