Skip to Content
Dec 20, 2021 at 01:37 PM

SAP CAP App Router NodeJS Deployment Error


Hi Experts,

We have a CAP service which has been running for around a year with no issues. This CAP service has an app router whose package.json looks as follows:

{ "name": "app-router", "description": "Node.js based application router service", "engines": { "node": "^8.0.0 || ^10.0.0" }, "dependencies": { "@sap/approuter": "6.8.0" }, "scripts": { "start": "node node_modules/@sap/approuter/approuter.js" }}

Now we have done a change in the application and while trying to deploy we are getting an error. Looking into the looks it seems to be do to the node engine used by the app router.

#2.0#2021 12 20[PollStageAppStatusExecution] [locking-service-app-router] 494e07b0-00a0-4037-9505-bb4cad7547ba [Mon Dec 20 13:14:04 UTC 2021] **ERROR** Unable to install node: no match found for ^8.0.0 || ^10.0.0 in [12.22.6 12.22.7 14.18.0 14.18.1 16.10.0 16.11.1] (STDOUT, STG)#

Any idea about how we can fix this?

Regards and thanks in advance.