Symptom
- When accessing CAP application deployed in BTP without any URI, an error shown as below.
- In the application project, there is no ./app/index.html file.
- In subaccount > Cloud Foundry > Spaces > choose space > Applications > choose application > Logs > search with
NODE_ENV, the parameter NODE_ENV is set as production. This parameter only can be seen in a short time after the application restart.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Read more...
Environment
- SAP Cloud Application Programming Model - SAP CAP
Product
SAP Cloud Application Programming Model all versions
Keywords
CAP application, cannot get, index.html, Node_env, cds server index, package.json , KBA , BC-XS-CDX-NJS , SAP CAP – node.js runtime , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview