Skip to Content
Apr 22, 2022 at 04:55 PM

SAP CAP - Node.js - cf push crashes


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



image.png (104.1 kB)
image.png (172.6 kB)