cancel
Showing results for 
Search instead for 
Did you mean: 

Node.js app Not Found error - SAP Cloud Foundry

furedikitti
Discoverer
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

gregorw
Active Contributor

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.