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
403

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
TRN1
Explorer
0 Kudos

I do not get any other error. We have SAP_ABA 750 and SAP_UI 754.

TRN1_0-1733851583602.png