cancel
Showing results for 
Search instead for 
Did you mean: 

Database module deployment failure

alixpel
Advisor
Advisor
0 Kudos

Tutorials: https://developers.sap.com/tutorials/hana-cloud-create-db-project.html
--------------------------

Write here what you need help with ...

Hello 🙂

At the step 4.2 of tutorial

https://developers.sap.com/tutorials/hana-cloud-create-db-project.html

The deployment fails, with the error :

Error running command _hanaExplorerView.deployFromTree: Deployment failed with code 1, see terminal for more details. This is likely caused by the extension that contributes _hanaExplorerView.deployFromTree.

Terminal :

Executing task: echo 'Prepared environment for deployment' && (npm ls --depth 0 --production || npm install) && (npm start -- --exit)

Prepared environment for deployment

npm WARN config production Use `--omit=dev` instead.

deploy@ /home/user/projects/DM/db

└── @sap/hdi-deploy@4.8.0

> start

> node node_modules/@sap/hdi-deploy/deploy.js --exit

VCAP_SERVICES: undefined

Deployment ended at 2023-08-14 11:47:08

Error: service ${service-name} not found; the service definition does not exist.

(0s 235ms)

* The terminal process "/bin/bash '-c', 'echo 'Prepared environment for deployment' && (npm ls --depth 0 --production || npm install) && (npm start -- --exit)'" terminated with exit code: 1.

* Terminal will be reused by tasks, press any key to close it.

* Executing task: echo 'Prepared environment for deployment' && (npm ls --depth 0 --production || npm install) && (npm start -- --exit)

Prepared environment for deployment

npm WARN config production Use `--omit=dev` instead.

deploy@ /home/user/projects/DM/db

└── @sap/hdi-deploy@4.8.0

> start

> node node_modules/@sap/hdi-deploy/deploy.js --exit

VCAP_SERVICES: undefined

Deployment ended at 2023-08-14 12:32:41

Error: service ${service-name} not found; the service definition does not exist.

(0s 232ms)

* The terminal process "/bin/bash '-c', 'echo 'Prepared environment for deployment' && (npm ls --depth 0 --production || npm install) && (npm start -- --exit)'" terminated with exit code: 1.

* Terminal will be reused by tasks, press any key to close it.

* Executing task: echo 'Prepared environment for deployment' && (npm ls --depth 0 --production || npm install) && (npm start -- --exit)

Prepared environment for deployment

npm WARN config production Use `--omit=dev` instead.

deploy@ /home/user/projects/DM/db

└── @sap/hdi-deploy@4.8.0

> start

> node node_modules/@sap/hdi-deploy/deploy.js --exit

VCAP_SERVICES: undefined

Deployment ended at 2023-08-14 12:56:28

Error: service ${service-name} not found; the service definition does not exist.

(0s 130ms)

* The terminal process "/bin/bash '-c', 'echo 'Prepared environment for deployment' && (npm ls --depth 0 --production || npm install) && (npm start -- --exit)'" terminated with exit code: 1.

* Terminal will be reused by tasks, press any key to close it.

What do you think ?

This page does not answer the question : https://answers.sap.com/questions/13326140/deployment-of-the-database-code-fails-with-a-code.html

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member872615
Discoverer
0 Kudos

Please check if you bind to a HDI container