cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment Error in SAP BAS

0 Kudos

Hello All,

I am getting below warning during the project build and manifest-bundle.zip is not getting created in dist folder

info ProjectBuilder Preparing build for project financialstatement

info ProjectBuilder Target directory: ./dist

info ProjectBuilder Cleaning target directory...

info Project 1 of 1: ❯ Building application project financialstatement...

info financialstatement › Running task escapeNonAsciiCharacters...

info financialstatement › Running task replaceCopyright...

info financialstatement › Running task replaceVersion...

info financialstatement › Running task minify...

info financialstatement › Running task generateFlexChangesBundle...

info financialstatement › Running task generateComponentPreload...

warn lbt:bundle:Builder Module com/fiori/financialstatement/utils/locate-reuse-libs.js requires top level scope and can only be embedded as a string (requires 'eval')

info financialstatement › Running task generateCachebusterInfo...

info ProjectBuilder Build succeeded in 857 ms

info ProjectBuilder Executing cleanup tasks...

Does anyone have any idea how can I fix this issue ?

junwu
Active Contributor
0 Kudos

i don't see any error.

why you are expecting manifest-bundle.zip? i don't see it in my dist folder either

0 Kudos

While deploying the app I am getting below error .

████████████████░░░░ ❯ Building application project financialstatement...ERR! builder:custom deploy-to-abap Deployment has failed. Please ensure there is a valid deployment archive file in the dist folder of the application that can be deployed.

Any hint why is the above error is coming ?

jlongie
Advisor
Advisor
0 Kudos

Sample package.json

{
"name": "MyTest",
"version": "0.0.1",
"private": true,
"description": "A Fiori application.",
"keywords": [
"ui5",
"openui5",
"sapui5"
],
"main": "webapp/index.html",
"dependencies": {},
"devDependencies": {
"@ui5/cli": "^2.14.1",
"@sap/ux-ui5-tooling": "1",
"@sap/ux-specification": "latest",
"@sap/ux-ui5-fe-mockserver-middleware": "1"
},
"scripts": {
"start": "fiori run --open \"test/flpSandbox.html?sap-ui-xx-viewCache=false#mytestapp-tile\"",
"start-local": "fiori run --config ./ui5-local.yaml --open \"test/flpSandbox.html?sap-ui-xx-viewCache=false#mytestapp-tile\"",
"build": "ui5 build --config=ui5.yaml --clean-dest --dest dist",
"deploy": "npm run build && fiori deploy --config ui5-deploy.yaml && rimraf archive.zip",
"deploy-config": "fiori add deploy-config",
"start-noflp": "fiori run --open \"index.html?sap-ui-xx-viewCache=false\"",
"start-mock": "fiori run --config ./ui5-mock.yaml --open \"test/flpSandbox.html?sap-ui-xx-viewCache=false#mytestapp-tile\"",
"start-variants-management": "fiori run --open \"preview.html?fiori-tools-rta-mode=true&sap-ui-rta-skip-flex-validation=true#preview-app\"",
"int-tests": "fiori run --open 'test/integration/opaTests.qunit.html'",
"start-control-property-editor": "fiori run --open editor.html"
},
"ui5": {
"dependencies": [
"@sap/ux-ui5-tooling",
"@sap/ux-ui5-fe-mockserver-middleware"
]
},
"sapux": true,
"sapuxLayer": "VENDOR"
}

I would suggest the following commands;

1. Build the dist folder

npm run build

2. Deploy the folder/files

npm run deploy

I dont have experience in Project Builder https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/4dd8cb7b1c484b4b93af84d00f60fdb8/f276bb53707db44ce10... so I dont know if this requires different configurations in order to build a dist folder suitable for ABAP deployment.

Accepted Solutions (0)

Answers (0)