SAP-archive / sap-hana-driver-for-sqltools

A Visual Studio Code extension which extends the SQLTools extension, with a driver to work with the SAP HANA Database. It supports tables and views, as well as running queries on an SAP HANA Database.
Apache License 2.0
20 stars 11 forks source link

Install extentions to PC without internet #204

Open vansovich9 opened 2 years ago

vansovich9 commented 2 years ago

Hi! I need install extentions without internet. I download sqltool vsix and hanna driver vsix and install him. But when i try connect to batabase VSCode show icons with message: "You need to install "@sap/hana-client@latest" to connect to QED." How I can install driver without internet?

ariel-bentu commented 2 years ago

Hi Try npm install -g '@sap/hana-client'

vansovich9 commented 2 years ago

This dont work. Server has not connect to internet. Package don't downloads. In server installed client but not last version. Maybe i can write parameter to set path to client?

ariel-bentu commented 2 years ago

Eventually the npm package needs to be installed here: /Users/<your user name>/Library/Application Support/vscode-sqltools (for Mac), or globally on you machine.

you may try to link your current hana-client installation to that location:

# Goto you current hana-client installation (in the folder that has the node-modules in it.
npm link @sap/hana-client

# Goto /Users/<your user name>/Library/Application Support/vscode-sqltools (Mac only)
npm link @sap/hana-client

I hope this would help