on 2020 Mar 17 11:44 AM
Hi ,
From yesterday we are getting the following error when we run the node module. I noticed there is a change in the build pack version(1.7.8 to 1.7.9). So it requested to change node from 8.x to 10.18.0.
I am using cloud application programming model. It is failing at the sap hana client ,Not sure what exactly needs to be changed to make it work.
{ Error: Command failed: node-gyp configure
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (/usr/local/lib/node10/node-v10.14.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:484:19)
gyp ERR! stack at PythonFinder.<anonymous> (/usr/local/lib/node10/node-v10.14.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:406:16)
gyp ERR! stack at F (/usr/local/lib/node10/node-v10.14.1-linux-x64/lib/node_modules/npm/node_modules/which/which.js:68:16)
gyp ERR! stack at E (/usr/local/lib/node10/node-v10.14.1-linux-x64/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack at /usr/local/lib/node10/node-v10.14.1-linux-x64/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack at /usr/local/lib/node10/node-v10.14.1-linux-x64/lib/node_modules/npm/node_modules/isexe/index.js:42:5
gyp ERR! stack at /usr/local/lib/node10/node-v10.14.1-linux-x64/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:154:21)
gyp ERR! System Linux 4.19.86-coreos
gyp ERR! command "/usr/local/lib/node10/node-v10.14.1-linux-x64/bin/node" "/usr/local/lib/node10/node-v10.14.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure"
gyp ERR! cwd /projects/cpc-2/srv/node_modules/@sap/hdbext/node_modules/@sap/hana-client
gyp ERR! node -v v10.14.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
at ChildProcess.exithandler (child_process.js:289:12)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
killed: false,
code: 1,
signal: null,
cmd: 'node-gyp configure' } ''
npm WARN ws@7.2.3 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.2.3 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
Request clarification before answering.
It seems that the problem is due to incompatibility (Hana-client) and node version.
Try to update hana-client to '^2.4.182' the latest version. In this link there are informations for version 2.4.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
54 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.