-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impossible to install without internet connection #424
Comments
@vincenthodicq Please use below steps:
Thanks. |
Hi Bimal, I did all the steps that you detailed but same error:
|
@vincenthodicq Your installation fails due to this error: |
Thanks @bimalkjha for your answer. I looked at the issue that you linked and I tried adding nodedir as an argument to npm install. I do not have anymore an issue with a timeout but with a file that is not existing: npm install --nodedir=/var/lib/node
IBM_DB_HOME environment variable have already been set to -> /opt/lib/clidriver/ Downloading of clidriver skipped - build is in progress... make: Entering directory { Error: Command failed: node-gyp configure build --IS_DOWNLOADED=false --IBM_DB_HOME="$IBM_DB_HOME"
killed: false, |
@vincenthodicq The error says that there is no node.js header files under |
Closing issue as links with solution already provided. Also, its node-gyp issue not ibm_db. ibm_db is just dependent on node-gyp module. Thanks. |
Hi @bimalkjha , sorry for the non update from my side. The comment that you provided was useful. Everything works now. Regards |
Hello,
I have to install ibm_db module from a Linux Red Hat 7 server without any internet connection. This server is configured to use Nexus as npm proxy. I have no problem installing any npm package except ibm_db.
As our server does not have internet connection, I downloaded linuxx64_odbc_cli.tar.gz file, put it in a folder lib.
I created a variable named IBM_DB_INSTALLER_URL, like detailed on ibm_db documentation, that contains the path to lib folder.
Installer successfully retrieves the driver but failed after when trying to connect another server. Please find below the full error.
Thanks in advance for your help.
Vincent
``> ibm_db@2.2.1 install /opt/myApp/node_modules/ibm_db
Downloading DB2 ODBC CLI Driver from /opt/lib/linuxx64_odbc_cli.tar.gz...
You are downloading a package which includes the Node.js module for IBM DB2/Informix. The module is licensed under the Apache License 2.0. The package also includes IBM ODBC and CLI Driver from IBM, which is automatically downloaded as the node module is installed on your system/device. The license agreement to the IBM ODBC and CLI Driver is available in undefined Check for additional dependencies, which may come with their own license agreement(s). Your use of the components of the package and dependencies constitutes your acceptance of their respective license agreements. If you do not accept the terms of any license agreement(s), then delete the relevant component(s) from your device.
Downloading and extraction of DB2 ODBC CLI Driver completed successfully ...
{ Error: Command failed: node-gyp configure build --IS_DOWNLOADED=true --IBM_DB_HOME="$IBM_DB_HOME"
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: connect ETIMEDOUT 104.20.23.46:443
gyp ERR! stack at Object.exports._errnoException (util.js:1022:11)
gyp ERR! stack at exports._exceptionWithHostPort (util.js:1045:20)
gyp ERR! stack at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
gyp ERR! System Linux 3.10.0-862.3.3.el7.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" "--IS_DOWNLOADED=true" "--IBM_DB_HOME=/opt/myApp/node_modules/ibm_db/installer/clidriver"
gyp ERR! cwd /opt/myApp/node_modules/ibm_db
gyp ERR! node -v v6.9.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
killed: false,
code: 1,
signal: null,
cmd: 'node-gyp configure build --IS_DOWNLOADED=true --IBM_DB_HOME="$IBM_DB_HOME"' }``
The text was updated successfully, but these errors were encountered: