on 2023 Mar 09 7:08 AM
Greetings experts,
I am encountering difficulties while attempting to deploy a project using Business Application Studio. The steps I am currently following are:
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
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
Please refer to the following SAP KBA note to resolve your issue.
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
User | Count |
---|---|
78 | |
21 | |
8 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.