on 08-04-2022 3:08 PM
Hi, during the installation of sap/hana-client from npm, I get the following error:
npm ERR! code ELIFECYCLE
npm ERR! errno 3221226356
npm ERR! @sap/hana-client@2.13.13 install: `node checkbuild.js`
npm ERR! Exit status 3221226356
npm ERR!
npm ERR! Failed at the @sap/hana-client@2.13.13 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.:
My versions are: {"npm":"6.14.11","node":"14.16.0"}
Error log: errorlog.txt
How can I fix this problems or any suggestions?
Best
Alessandro
Hello,
The 2.14.18 HANA Client has now been released (now on npm) with this support.
Best regards,
Jeff
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The SAP Note is pretty old. Newer versions of hana-client are supporting also newer versions of node.
I found the following problem in the log:
```
73 verbose stack Error: command failed
73 verbose stack at ChildProcess.<anonymous> (/Users/D029752/.nvm/versions/node/v16.17.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27)
73 verbose stack at ChildProcess.emit (node:events:513:28)
73 verbose stack at maybeClose (node:internal/child_process:1093:16)
73 verbose stack at Socket.<anonymous> (node:internal/child_process:451:11)
73 verbose stack at Socket.emit (node:events:513:28)
73 verbose stack at Pipe.<anonymous> (node:net:757:14)
74 verbose pkgid @sap/hana-client@2.13.22
```
and later:
83 error FATAL ERROR: A fatal error occurred during install.
83 error Cannot find module '/Users/D029752/node_modules/@sap/hana-client/prebuilt/darwinarm64-xcode12/hana-client.node'
It seems that npm looks for xcode12 binaries, whereas in the hana-client package there is only a xcode7 binary.
I guess you have to wait until. SAP is releasing it with the right binaries. That's the hassle with non-native packages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.