on 08-04-2021 11:31 AM
Hi ,
Issue is while deploying CAP application.
While deploying "Deploy MTA Archive" , it error outs saying " Some instances have crashed "
I checked the logs of service in DEV space.
To resolve this , I have executed "npm init" to regenerate package.json and "npm install socket.io --save"
But even after this I am facing the same.
Does anyone have faced this issue earlier and any solution on this.
Thanks,
Thulja
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 |
---|---|
67 | |
8 | |
8 | |
6 | |
6 | |
5 | |
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.