cancel
Showing results for 
Search instead for 
Did you mean: 

hana-cli installation failed

fabiocerioni
Explorer
0 Kudos

Hello,

I am trying to install hana-cli in my BAS terminal with command

 npm install -g hana-cli

I've got the following error.

npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! network request to https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz failed, reason: Client network socket disconnected before secure TLS connection was established
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network 
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/user/.npm/_logs/2023-12-10T11_02_27_446Z-debug-0.log<br>

Has anybody encountered the same problem?

I am working in a trial account with a BAS deployed few days ago.

If I run

 npm i  https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz

on local system I have no problems

Probably depends on TLS certificate that must be added but without root user I do not know how to fix it

detailed logs shows the following info

1716 verbose stack FetchError: request to https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz failed, reason: Client network socket disconnected before secure TLS connection was established
1716 verbose stack     at ClientRequest.<anonymous> (/local/asdf-inst-inbox-runtime/installs/nodejs/18.14.2/lib/node_modules/npm/node_modules/minipass-fetch/lib/index.js:130:14)
1716 verbose stack     at ClientRequest.emit (node:events:513:28)
1716 verbose stack     at TLSSocket.socketErrorListener (node:_http_client:502:9)
1716 verbose stack     at TLSSocket.emit (node:events:513:28)
1716 verbose stack     at emitErrorNT (node:internal/streams/destroy:151:8)
1716 verbose stack     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
1716 verbose stack     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
1717 verbose cwd /home/user/projects/cap3
1718 verbose Linux 5.15.114-gardenlinux-cloud-amd64
1719 verbose node v18.14.2
1720 verbose npm  v9.5.0
1721 error code ECONNRESET
1722 error errno ECONNRESET
1723 error network request to https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz failed, reason: Client network socket disconnected before secure TLS connection was established
1724 error network This is a problem related to network connectivity.
1724 error network In most cases you are behind a proxy or have bad network settings.
1724 error network
1724 error network If you are behind a proxy, please make sure that the
1724 error network 'proxy' config is set properly.  See: 'npm help config'
1725 verbose exit 1
1726 timing npm Completed in 107595ms
1727 verbose unfinished npm timer reify 1702206147503
1728 verbose unfinished npm timer reify:unpack 1702206149852
1729 verbose unfinished npm timer reifyNode:node_modules/hana-cli/node_modules/xlsx 1702206149853
1730 verbose code 1
1731 error A complete log of this run can be found in:
1731 error     /home/user/.npm/_logs/2023-12-10T11_02_27_446Z-debug-0.log<br>
coveles1
Discoverer
0 Kudos

I have the same problem( some month ago there was no such problem ). Without "-g" the same

sPatil
Participant
0 Kudos

I am also facing the same problem. Please let me know if anyone found the solution.

Accepted Solutions (1)

Accepted Solutions (1)

gregorw
Active Contributor
0 Kudos
fabiocerioni
Explorer
0 Kudos

Hello Gregor,

just checked, now it works.

Thank you

Answers (0)