cancel
Showing results for 
Search instead for 
Did you mean: 

Deployement Sap fiori app from vs code to azure system for SAP/4HANA ON PREMISE

aleks_dev
Explorer

Hello All,

I have to deploy an Ui5 app that I'm creating in vs code to the Azure for SAP/4HANA ON PREMISE system but I'm getting an error

Im using this file to upload the project .nwabaprc

This is the package.json file

Has anybody faced this issue before and how did it resolve?

Friendly Regards,

Aleksander

Accepted Solutions (0)

Answers (1)

Answers (1)

junwu
Active Contributor
0 Kudos

use fiori tool for deployment, no need to use nwabap lib unless your abap server is very old.

aleks_dev
Explorer
0 Kudos

I have used even the Fiori tool for deployment but I'm getting self-assigned certificate error,

junwu
Active Contributor
0 Kudos

give it a try.

# for bash or ZSH
export NODE_TLS_REJECT_UNAUTHORIZED=0
# for CMD
set NODE_TLS_REJECT_UNAUTHORIZED=0

# for PowerShell
$env:NODE_TLS_REJECT_UNAUTHORIZED="0"

aleks_dev
Explorer
0 Kudos

Sorry, where I can use this command, i have tried on the manifest or even imported it but nothing changed , should i use in deployment file :

aleks_dev
Explorer
0 Kudos

this is the status again

junwu
Active Contributor
0 Kudos

in the same place where you type "npm run deploy" cmd

aleks_dev
Explorer
0 Kudos

this is the datiled error

junwu
Active Contributor
0 Kudos

one more

npm config set strict-ssl=false
aleks_dev
Explorer
0 Kudos

even that comand didnt work , forgot maybe to mention but the server it is on azure but the system it is on sap

junwu
Active Contributor
0 Kudos

did you run the cmd in the same terminal?

i checked mine,

my console didn't output this

using system **** from system store

what is this???

forgot maybe to mention but the server it is on azure but the system it is on sap

junwu
Active Contributor
0 Kudos

which one you run?

# for bash or ZSH
export NODE_TLS_REJECT_UNAUTHORIZED=0
# for CMD
set NODE_TLS_REJECT_UNAUTHORIZED=0

# for PowerShell
$env:NODE_TLS_REJECT_UNAUTHORIZED="0"

aleks_dev
Explorer
0 Kudos

i have run in the export NODE_TLS_REJECT_UNAUTHORIZED=0 in bash and in the cmd set NODE_TLS_REJECT_UNAUTHORIZED=0

"forgot maybe to mention but the server it is on azure but the system it is on sap" for this one the it is the case that the app it needs to deploy in azure but they are using sap to get the data

junwu
Active Contributor
0 Kudos

you only need one, dude

if your pc is windows, very likely you will use

$env:NODE_TLS_REJECT_UNAUTHORIZED="0"

your vsc should tell you at lower right corner

aleks_dev
Explorer
0 Kudos

I have run the command, but still the same error

junwu
Active Contributor
0 Kudos

dude, I think you are mixing things
that error comes when you run your app right? not deploying the app

change your ui5.yaml file

aleks_dev
Explorer
0 Kudos

this error comes when i deploy the app not when i run it

junwu
Active Contributor
0 Kudos

can you show me the full screenshot that shows error is coming when you run the deployment cmd.

aleks_dev
Explorer
0 Kudos

this is all the error im getting from the deployment

junwu
Active Contributor
0 Kudos

if that is full screenshot, what is this?

aleks_dev
Explorer
0 Kudos

yep that is the full screen shoot from cmd side , while that it is coming from bash when i try to deploy the app

junwu
Active Contributor
0 Kudos

why not give us a full screenshot from bash?

aleks_dev
Explorer
0 Kudos

this is the full error from the bash side

junwu
Active Contributor
0 Kudos

where is your deployment cmd?

aleks_dev
Explorer
0 Kudos

i dont need one sisnce i have configured everything in package.json

junwu
Active Contributor
0 Kudos

no.

I am asking giving me a screenshot where it shows everything, just like the one you took for cmd terminal

i need the one you took for bash terminal. from you typing the deployment cmd until the error.

aleks_dev
Explorer
0 Kudos

this are from cmd

junwu
Active Contributor
0 Kudos

I need the one from bash, not cmd.....

aleks_dev
Explorer
0 Kudos

this one it is from the bash

junwu
Active Contributor
0 Kudos

if that is full screenshot,

then why you say this is related to deployment?

aleks_dev
Explorer
0 Kudos

that is the error that im getting from deployment

junwu
Active Contributor
0 Kudos

all your log are here for the deployment, i don't see that error

why you say that one is also from the deployment?

aleks_dev
Explorer
0 Kudos

the error that im getting it that self-signed certificate that it is not allowing me to deploy