on 03-09-2023 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
jlongie I receive the error messages below. In SICF we have the UI5 service activated and connections set up in BTP cockpit. Thank you in advance for you assistance.
After running script NPM RUN DEPLOY
ERR! builder:custom deploy-to-abap Please maintain correct credentials to avoid seeing this error
ERR! builder:custom deploy-to-abap (see help: https://www.npmjs.com/package/@sap/ux-ui5-tooling#setting-environment-variables-in-a-env-file)
info builder:custom deploy-to-abap The deployment destination requires authentication. Please enter your credentials below
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
When I attempt to run the script set DEBUG=ux-odata-client & npm run deploy, I do not appear to get any different logs.
ui5-deploy.yaml file:
# yaml-language-server: $schema=https://sap.github.io/ui5-tooling/schema/ui5.yaml.json
specVersion: "2.4"
metadata:
name: Name
type: application
builder:
resources:
excludes:
- /test/**
- /localService/**
customTasks:
- name: deploy-to-abap
afterTask: generateCachebusterInfo
configuration:
target:
destination: Env
url:
credentials:
username: env:UI5_USERNAME
password: env:UI5_PASSWORD
app:
name: Z_Name
description: App
package: Z_Package
transport: Transport #
.env file:
UI5_USERNAME=Username
UI5_PASSWORD=Password
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.