cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error when preparing custom task UI for deployment

ShaunOosthuizen
Participant
0 Likes
726

Hi community,

I'm facing an issue when trying to deploy a Custom Task UI as per the SAP help documentation:

Creating a Custom Task UI

On step 10 it is required to run the following command:

npm run deploy-config cf

When I run the command I'm getting an error after selecting the Destination Name as "None":

TypeError: Cannot read property 'deploy_mode' of null

I've documented all the steps here.

Anyone have any ideas?

Thanks,

Shaun

View Entire Topic
ShaunOosthuizen
Participant
0 Likes

Turns out the only thing missing was the "deploy_mode: html5-repo" parameter at the root level of the mta.yaml. I would have expected it to be added during step 3 while generating the Approuter configuration.

After adding the parameter, I managed to rerun the deploy-config script successfully.

npm run deploy-config cf