on 2023 Aug 14 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
Request clarification before answering.
Hello Alixpel,
Please make sure whether you have created the roles and granted those roles to the user. This issue occurs either if you haven't granted those roles to the user or you haven't created the roles at all.
Thank you,
Pannaga G Hegde
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 |
|---|---|
| 17 | |
| 8 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.