cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Business Application Studio : deploy to hana cloud trial HDI container fails

former_member439824
Contributor
0 Kudos

Hello,

I am following this tutorial :

https://developers.sap.com/tutorials/hana-cloud-cap-create-database-cds.html

I am stuck at step 3.9

After binding my project to a HDI container, I try to "deploy" but it fails with this error :
Task 'SAP HANA: Deploy module at /home/user/projects/MyHANAApp/db (MyHANAApp)' has exited with code 1.


As you can see on the screenshot, I tried to deploy 13 times, it just creates an empty Task each time.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Maxime,

Please move the package.json to be inside the db folder.

Also please fix the problems it shows in the problem view.

Raya.

former_member439824
Contributor

Thank you, this worked !


I solved the issue by adding a "package.json" to my db folder.

To add a correct package.json, I used the command "hana-cli createModule" as described here : https://developers.sap.com/tutorials/hana-cloud-cap-create-project.html

Answers (1)

Answers (1)

0 Kudos

Hi,

Can you please provide the following information:

1. which HANA version are you using HANA Cloud or HaaS?

2. What is the HDI Container service type?

3. Does your project's HDI config file contains the tag "minimum_feature_version" ?

Thank you

Ayala

former_member439824
Contributor
0 Kudos

Thanks for your help.

1. HANA Cloud trial, latest version as of 2021/04/27

2. name : MyHANAApp-hdi
service : hana
plan : hdi-shared
last operation : create succeeded
broker : sm-hana-broker-6ee33e0e-bc5a-4a6b-8715-5a697a76b655

3. I do not know where to look for "minimum_feature_version". I did a search for "minimum_feature_version" in my project but did not find any result.

0 Kudos

Please share your repository and we will take a look

Thanks

Ayala