cancel
Showing results for 
Search instead for 
Did you mean: 

Error while deploying HTML5 apps from CAP Application

ashokkumarg
Explorer
0 Kudos
617

Hi All,

I am trying to deploy the capm apps by following the mission from CAPM, when I was trying to add deploy config for the individual apps I am getting the following error. I have attached my yaml file.

Tutorial: https://developers.sap.com/tutorials/btp-app-work-zone-setup.html

yaml.txt

View Entire Topic
manjunath_ks1
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi, As per this older question people found that this can be worked around by downgrading the mta by running `npm i -g mta@1.0.4`. link

Best regards,
Mahati

ashokkumarg
Explorer
0 Kudos

Hi manjunath_ks,

Thanks for the quick turnaround, when I was trying to degrade my mta I am getting the following error in terminal.

Thanks

Ashok

AntalP
Product and Topic Expert
Product and Topic Expert

Hi Ashok,

The npm i -g mtr@1.0.4. will not work, due to the last character "." the package is not found.

The right command is

npm i -g mta@1.0.4

Best regards,

Antal

ashokkumarg
Explorer
0 Kudos

Hi antal.perger & manjunath_ks,

Thanks for correcting the command, I was able to degrade the mtr now, but after rebuilding and deploying the app again I am getting another error. Could you please help me on this. I have attached the yaml file. I have tried by deleting the instances of html5-repo and destinations but still I am getting the same error.

Thanks in advance.

yaml.txt

manjunath_ks1
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ashok,

Do not delete parts of the deployment via the cockpit, undeploy it completely as described here.

Best regards,
Mahati

ashokkumarg
Explorer

Thanks manjunath_ks after Un deploying and deploying again my issue resolved and created successfully. Now I was able to deploy the application with html5 apps as well.