on 08-14-2023 2:14 PM
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
Please check if you bind to a HDI container
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
10 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.