on 05-19-2023 1:22 PM
Hi sap community,
we are trying to deploy a sap cap fiori application to cloud foundry subaccount. however we facing below error as db_deployer is failed.
npm ERR! enoent ENOENT: no such file or directory, open '/home/vcap/app/package.json' (STDERR, APP/TASK/deploy)#
could you please help us to fix this issue.
Thanks Ashwini
Hello!
Had the same issue, and for future reference, the issue was with this part of the MTA:
- name: APP-db-deployer
type: hdb
path: gen/db
requires:
- name: APP_SRV-db
properties:
TARGET_CONTAINER: ~{hdi-container-name}
parameters:
buildpack: nodejs_buildpack
For some reason the path of the deployer changed from "gen/db" (generated file) to "db", and this is why it does not find the "package.json" file. I think the issue is with the command "cds add hana", that changes this on MTA,
Hope it can help someone with this issue in the future.
Best regards,
Rafael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.