cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to deploy FIORI Project from Business Application Studio

Mohamed_Mukhtar
Active Contributor
4,609

Greetings experts,

I am encountering difficulties while attempting to deploy a project using Business Application Studio. The steps I am currently following are:

  1. Creating a project using a template
  2. Opening a terminal window and running the commands "npm run deploy-config", while providing all necessary information, and then "npm run deploy".

Logs from BAS

info builder:custom deploy-to-abap Create Archive
info builder:custom deploy-to-abap Starting Deployment.
ERR! builder:custom deploy-to-abap Deployment Failed. You can re-run deployment with the following command to get more detailed log information:
ERR! builder:custom deploy-to-abap MacOs/Linux: DEBUG=ux-odata-client npm run deploy
ERR! builder:custom deploy-to-abap Windows: set DEBUG=ux-odata-client & npm run deploy

Regards

Mukhtar

View Entire Topic
jlong
Product and Topic Expert
Product and Topic Expert
0 Kudos

Ok! So Im not able to replicate the issue.

Can you provide the full console long when you run `npm run deploy`. This should more details.

Also, what versions are you running?

node -v

npm -v

Thanks.

John

Mohamed_Mukhtar
Active Contributor
0 Kudos

Hi John

Thank You. Please find the logs.

npm -v is 8.19.3

node -v is v16.19.0

> zxxxx@0.0.1 deploy
> npm run build && fiori deploy --config ui5-deploy.yaml && rimraf archive.zip


> zxxxx@0.0.1 build
> ui5 build --config=ui5.yaml --clean-dest --dest dist

info builder:builder Building project zxxxx not including dependencies...
info builder:builder 🛠 (1/1) Building project zxxxx
info builder:builder application zxxxx 🔨 (1/8) Running task escapeNonAsciiCharacters...
info builder:builder application zxxxx 🔨 (2/8) Running task replaceCopyright...
info builder:builder application zxxxx 🔨 (3/8) Running task replaceVersion...
info builder:builder application zxxxx 🔨 (4/8) Running task generateFlexChangesBundle...
info builder:builder application zxxxx 🔨 (5/8) Running task generateComponentPreload...
WARN lbt:bundle:Builder **** warning: module zxxxx/utils/locate-reuse-libs.js requires top level scope and can only be embedded as a string (requires 'eval')
info builder:builder application zxxxx 🔨 (6/8) Running task createDebugFiles...
info builder:builder application zxxxx 🔨 (7/8) Running task uglify...
info builder:builder application zxxxx 🔨 (8/8) Running task generateVersionInfo...
info builder:builder Build succeeded in 504 ms
info builder:builder Executing cleanup tasks...

Confirmation is required to deploy the app:

Application Name: zxxxx
Package: ZPACKAGE
Transport Request: TRXXXXXX
Destination: SYSXXXXX
SCP: false


✔ Start deployment (Y/n)?

… yes
info builder:custom deploy-to-abap Create Archive
info builder:custom deploy-to-abap Starting Deployment.
ERR! builder:custom deploy-to-abap Deployment Failed. You can re-run deployment with the following command to get more detailed log information:
ERR! builder:custom deploy-to-abap MacOs/Linux: DEBUG=ux-odata-client npm run deploy
ERR! builder:custom deploy-to-abap Windows: set DEBUG=ux-odata-client & npm run deploy

Regards

Mukhtar

Mohamed_Mukhtar
Active Contributor

Hi John,
The below error is found in /iwfnd/error_log transaction.

No service found for namespace '/UI5/', name 'ABAP_REPOSITORY_SRV', version '0001'

Regards

Mukhtar

jlong
Product and Topic Expert
Product and Topic Expert

Please refer to the following SAP KBA note to resolve your issue.

https://me.sap.com/notes/0002999557

Mohamed_Mukhtar
Active Contributor

Hi John,

The issue is resolved after adding serivce /UI5/ABAP_REPOSITORY_SRV. Please convert your comment as answer so that I can 'ACCEPT' . Thank you for your help.

Regards

Mukhtar