cancel
Showing results for 
Search instead for 
Did you mean: 

Error when deploying Fiori app from VS code -Unexpected token '<', "<!DOCTYPE "... is not valid JSO

TRN1
Explorer
0 Kudos
395

Hi Experts,

I am trying to deploy SAP UI5 Fiori application from VS code to ABAP on-premise system. I installed all the extensions needed in VS code to create a Fiori application and was able to preview the application in the local host. When it comes to deployment to the backend system, I get the below error when running the command 'npm run deploy' and deployment fails.  

error abap-deploy-task ZDFGT Deployment has failed.
error abap-deploy-task ZDFGT Change logging level to debug your issue
error abap-deploy-task ZDFGT (see examples https://github.com/SAP/open-ux-tools/tree/main/packages/deploy-tooling#configuration-with-logging-en...)
error builder:custom deploy-to-abap Unexpected token '<', "<!DOCTYPE "... is not valid JSON
Command deploy failed with error : Unexpected token '<', "<!DOCTYPE "... is not valid JSON

Any suggestions to resolve this error please?

Thank you for your help in advance!

View Entire Topic
junwu
Active Contributor
0 Kudos

do what it asked.

error abap-deploy-task ZDFGT Change logging level to debug your issue

TRN1
Explorer
0 Kudos
I changed the logging level and it asked me to activate /UI5/ABAP_REPOSITORY_SRV service. I did that but still I get the same error.
junwu
Active Contributor
0 Kudos
no more new error? what is your abap server version?
TRN1
Explorer
0 Kudos
I do not get any other error.
TRN1
Explorer
0 Kudos
We have SAP_ABA 750 and SAP_UI 754..