on 2023 Dec 10 11:21 AM
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>
Request clarification before answering.
Please check https://answers.sap.com/answers/14021093/view.html
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 | |
11 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.