
The Node.js version on your workstation may be different from the version staged in a Cloud Foundry application. Check the actual application runtime.
What to check
Log on to the correct Cloud Foundry API and target the appropriate organization and space. Inspect the application and staging logs. If SSH is already permitted by the platform and application policy, run the following example against the application instance.
cf target
cf app my-app
cf logs my-app --recent
cf ssh my-app -c 'node --version'Validation and precautions
Replace my-app with the actual application name. If node is not on the SSH shell’s PATH, inspect the application startup environment or use a controlled application diagnostic. Compare the result with the engines constraint in package.json and the buildpack’s supported runtime versions. Do not enable SSH for a productive app without approval.
Reference
SAP Note: 3773591
Documentation: Cloud Foundry Docs


