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 13:14:19.545#Z#DEBUG#com.sap.cloud.lm.sl.xs2.8a14cc0e-6196-11ec-9e3c-eeee0a8c24f7.locking-service-app-router.stageAppTask#######org.cloudfoundry.multiapps.controller.persistence.services.ProcessLogger########flowable-async-job-executor-thread-34339###[PollStageAppStatusExecution] [locking-service-app-router] 494e07b0-00a0-4037-9505-bb4cad7547ba [Mon Dec 20 13:14:04 UTC 2021] [31;1m**ERROR**[0m 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.
C.