Skip to Content

Node.js app Not Found error - SAP Cloud Foundry

Hi community!

I am deploying a node.js app to cloud foundry, with xsuaa service and very basic html to see some results.
The authentication works, so when I start the app, the specified URL navigates to a login site as desired, but after login, the static content not reached, and 404 Not Found error happens.
I think something is missing from index.js file maybe, but I've done every settings as in this excellent tutorial shown:
https://developers.sap.com/tutorials/cp-cf-security-xsuaa-create.html

Here you can find my package:
https://github.com/kitty-frd/SAP/tree/master/demonode/product-list

For now, I have run out of the solutions what could be the problem. Is anybody have an idea?
Thank you in advance!
Kitti

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on 4 days ago

    I would suggest that you look into SAP Cloud Application Programming Model. And I would suggest that you use an mta.yaml to package your solution.

    Add comment
    10|10000 characters needed characters exceeded