Closed StefanButscher closed 2 years ago
Hi Stefan,
This area of support is for the hdb driver. If you have issues with the @sap/hana-client, you should open a question on answers.sap.com with the tag 'HANA'. If you have a support contract, you should open an SAP Support Case underneath the 'HAN-DB-CLI' component.
To answer your question, I think we'll need some more information: which version of node.js are you using? The driver should be supported on node.js major versions 8 and up.
Does the debug.log file provide any further details?
Best regards, Jeff
Dear Jeff,
thanks for the Info. I am an SAP employee and could of course open a ticket. Initially I opened the finding on the sap-han-driver-for-sql-tools, but got redirected to here. https://github.com/SAP/sap-hana-driver-for-sqltools/issues/202
From the debug.log the Versions are: node v14.16.1 npm v6.14.12
From the debug.log I cannot see any further issues. I will add the latest file in a new comment and (removed my user ID).
Thanks and Best Regards, Stefan
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '@sap/hana-client'
1 verbose cli ]
2 info using npm@6.14.12
3 info using node@v14.16.1
4 verbose npm-session c5a26ee74aecdd24
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 200 http://nexus.wdf.sap.corp:8081/nexus/content/groups/build.milestones.npm/@sap%2fhana-client 19ms (from cache)
8 silly pacote tag manifest for @sap/hana-client@latest fetched in 44ms
9 timing stage:loadCurrentTree Completed in 71ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 0ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule @sap/hana-client@2.12.1-ms checking installable status
17 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 7ms
18 timing stage:loadIdealTree Completed in 11ms
19 silly currentTree Data
20 silly idealTree Data
20 silly idealTree -- @sap/hana-client@2.12.1-ms 20 silly idealTree +-- debug@3.1.0 20 silly idealTree
-- ms@2.0.0
21 silly install generateActionsToTake
22 timing stage:generateActionsToTake Completed in 4ms
23 silly diffTrees action count 3
24 silly diffTrees add ms@2.0.0
25 silly diffTrees add debug@3.1.0
26 silly diffTrees add @sap/hana-client@2.12.1-ms
27 silly decomposeActions action count 24
28 silly decomposeActions fetch ms@2.0.0
29 silly decomposeActions extract ms@2.0.0
30 silly decomposeActions preinstall ms@2.0.0
31 silly decomposeActions build ms@2.0.0
32 silly decomposeActions install ms@2.0.0
33 silly decomposeActions postinstall ms@2.0.0
34 silly decomposeActions finalize ms@2.0.0
35 silly decomposeActions refresh-package-json ms@2.0.0
36 silly decomposeActions fetch debug@3.1.0
37 silly decomposeActions extract debug@3.1.0
38 silly decomposeActions preinstall debug@3.1.0
39 silly decomposeActions build debug@3.1.0
40 silly decomposeActions install debug@3.1.0
41 silly decomposeActions postinstall debug@3.1.0
42 silly decomposeActions finalize debug@3.1.0
43 silly decomposeActions refresh-package-json debug@3.1.0
44 silly decomposeActions fetch @sap/hana-client@2.12.1-ms
45 silly decomposeActions extract @sap/hana-client@2.12.1-ms
46 silly decomposeActions preinstall @sap/hana-client@2.12.1-ms
47 silly decomposeActions build @sap/hana-client@2.12.1-ms
48 silly decomposeActions install @sap/hana-client@2.12.1-ms
49 silly decomposeActions postinstall @sap/hana-client@2.12.1-ms
50 silly decomposeActions finalize @sap/hana-client@2.12.1-ms
51 silly decomposeActions refresh-package-json @sap/hana-client@2.12.1-ms
52 silly install executeActions
53 silly doSerial global-install 24
54 verbose correctMkdir C:\Users\-- @sap/hana-client@2.12.1-ms 120 silly saveTree
-- debug@3.1.0
120 silly saveTree -- ms@2.0.0 121 warn enoent ENOENT: no such file or directory, open 'C:\Users\<user>\AppData\Local\vscode-sqltools\Data\package.json' 122 verbose enoent This is related to npm not being able to find a file. 123 warn Data No description 124 warn Data No repository field. 125 warn Data No README data 126 warn Data No license field. 127 verbose stack Error: @sap/hana-client@2.12.1-ms install:
node checkbuild.js 127 verbose stack Exit status 3221226356 127 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16) 127 verbose stack at EventEmitter.emit (events.js:315:20) 127 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 127 verbose stack at ChildProcess.emit (events.js:315:20) 127 verbose stack at maybeClose (internal/child_process.js:1048:16) 127 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) 128 verbose pkgid @sap/hana-client@2.12.1-ms 129 verbose cwd C:\Users\<user>\AppData\Local\vscode-sqltools\Data 130 verbose Windows_NT 10.0.19042 131 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "@sap/hana-client" 132 verbose node v14.16.1 133 verbose npm v6.14.12 134 error code ELIFECYCLE 135 error errno 3221226356 136 error @sap/hana-client@2.12.1-ms install:
node checkbuild.js`
136 error Exit status 3221226356
137 error Failed at the @sap/hana-client@2.12.1-ms install script.
137 error This is probably not a problem with npm. There is likely additional logging output above.
138 verbose exit [ 3221226356, true ]
close? out of scope for this repository
Yes, let's close it. @StefanButscher, feel free to e-mail myself if this is still an issue.
Hi,
@jeffalbion Can you please re-open it ? I am having the same issue on Windows with @sap/hana-client@2.14.18 node@14.20.1 and npm@6.14.17
Thanks
Dear colleagues,
when I try to install via "npm install @sap/hana-client"
I get the follwoing error: PS C:\Users\XXXXXX\OneDrive - SAP SE\Agile\Hana@VScode> npm install -g @sap/hana-client
@sap/hana-client@2.10.20 install C:\Users\XXXXX\AppData\Roaming\npm\node_modules@sap\hana-client node checkbuild.js
npm ERR! code ELIFECYCLE npm ERR! errno 3221226356 npm ERR! @sap/hana-client@2.10.20 install: node checkbuild.js npm ERR! Exit status 3221226356 npm ERR! npm ERR! Failed at the @sap/hana-client@2.10.20 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\XXXXX\AppData\Roaming\npm-cache_logs\2021-11-15T07_23_32_052Z-debug.log PS C:\Users\XXXXXX\OneDrive - SAP SE\Agile\Hana@VScode>
I am completely lost what needs to be done to overcome this.
Thanks and Best Regards, Stefan