Version of node.js engine v8.x in SAP HANA XS. But when I make this value 10.x I get the error.
The package.json in the Node.js application looks like this:
{
"name": "server",
"version": "1.0.0",
...,
"dependencies": {
"@sap/hana-client": "^2.4.144",
"express": "^4.15.0"
},
"engines": {
"node": "8.x"
}
}
Node.js on HANA XSA can only be updated by updating HANA XSA itself. To get Node 10 support you need to update to the HANA XSA Runtime delivered with HANA 2.0 SPS04. For details please check the release notes or SAP Note 2741459.