cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CAP - Node.js - cf push crashes

Bruno-Franzini
Product and Topic Expert
Product and Topic Expert
0 Kudos
1,907

Hi all,

I'm executing CF Push command in terminal to push app into BTP CF repository, but I'm getting this error when cf push command is executed.

Both risk-management-srv and risk-management-db-deployer are to be pushed at once.

I've run cf logs risk-management --recent and the error message says: 'Unable to require require package/file.json "passport". However, I'd already installed passport module by npm i passport. furthermore, the package-lock.json had been deleted and re-run npm install.

Could anyone provide me any assistance, please?

Best regards

Bruno Franzini

View Entire Topic
chgeo
Advisor
Advisor
0 Kudos

We have published sap/cds 5.9.4, which 'fixes' the issue by only emitting a warning in case of a missing xsuaa binding. Also, it adds better error messages in case of missing dependencies like 'passport'.

Bruno-Franzini
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Christian,

I'll update it, thank you.