Couchbase 4.2.10 throwing CMake executable is not found error

We are trying to address a vulnerability: CVE - CVE-2023-45857

While doing so when we tried to update couchbase version, we have observed below issue for Couchbase version 4.2.10.

17:32:29  e[0me[91mnpm ERR! code 117:32:29  e[0me[91mnpm ERR! path /opt/app-root/src/node_modules/couchbase17:32:29  e[0me[91mnpm ERR! command failed17:32:29  e[0me[91mnpm e[0me[91mERR! command sh -c node ./scripts/install.js17:32:29  e[0me[91mnpm ERR!e[0me[91m info TOOL Using Unix Makefiles generator.17:32:29  npm e[0me[91mERR!e[0me[91m info REP Build has been failed, trying to do a full rebuild.17:32:29  npm ERR! ERR! OMG CMake executable is not found. Please use your system's package manager to install it, or you can get installers from there: http://cmake.org.17:32:29  e[0me[91m

The message indicates that you need to install cmake.

“CMake executable is not found. Please use your system’s package manager to install it, or you can get installers from there: http://cmake.org.17:32:29”

Please note that CMake is only needed if the SDK needs to build its binary. We do offer prebuilt binaries that should automatically be picked up when installing the SDK. So, might want to look into why the prebuilt binary is not being picked up for you OS and architecture.