-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Installation Problem oracledb@dev on Win 10 x64 #803
Comments
Looks like your on 64bit Windows but using a 32 bit Node. Which is fine so long as a 32 bit instant client is in your path environment variable.
… On Dec 2, 2017, at 11:31 AM, awn70 ***@***.***> wrote:
Hi,
I want to use the pre-built binaries but the installation throws this error:
NJS-054 Binary build/Release/oracledb.node was not installed from oracledb-v2.0.14-node-v57-win32-x64.gz
The output of "npm install --verbose ***@***.***" is here https://gist.github.com/awn70/de756737e8c6a6c58454de6a785fe951
OS: Windows_NT 10.0.16299 x64 (1709)
node: v8.9.1
npm: v5.5.1
Can anybody tell me what the problem is?
Thanks
Andreas
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@awn70 Looks like you're on Windows 32 bit, I think there are only binaries for 64 bit. However, I'd have expected a different error. You're getting a "oracledb ERR! socket hang up" error so it's likely network related. Are you doing this from home or work? Are there any HTTP proxies involved? Please do the Windows equivalent of the following so we can get more insight: Then rerun the install and you should see some more verbose output. Please let us see that but ensure that nothing private is in the output first. |
I have added the log for NODE_ORACLEDB_TRACE_INSTALL="TRUE" to the gist above. |
Did you check the 'socket hangup' error? Anything ring a bell? Some google hits: Since you can reproduce it, and we can't, maybe you can help find a solution? |
More links: I'll give some more concrete debugging suggestions when I'm at work tomorrow. |
Actually I think I can repro. I'll look again at it first thing tomorrow. |
I'm behind a proxy and in my npm configuration the parameters |
For the moment, I suggest compiling from source code following https://github.com/oracle/node-oracledb/blob/dev-2.0/INSTALL.md or using the manual install method (section 3.12.2 in INSTALL). The proxy handling code in oracledbinstall.js needs some tweaking; it was all working but perhaps some wider ssl change has broken it. I've been banging my head against it all day. |
Compiling from source is not possible, I have visual studio 2017. AFAIK it's only working with vs2015. |
@awn70 I've made a tweak to the proxy code. (The situation was all very Twilight Zone). Can you download https://github.com/oracle/node-oracledb/releases/download/v2.0.14/oracledb-2.0.14.tgz and then install it with |
Looks good, |
@awn70 thanks for confirming it works - and for being first to be struck by this latent bug. We're close to releasing 2.0.15 which will have this fix for proxy support. npm won't allow republishing, AFAICT so I won't push the patched 2.0.14 there. |
Hi,
I want to use the pre-built binaries but the installation throws this error:
NJS-054 Binary build/Release/oracledb.node was not installed from oracledb-v2.0.14-node-v57-win32-x64.gz
The output of "npm install --verbose oracledb@dev" is here https://gist.github.com/awn70/de756737e8c6a6c58454de6a785fe951
OS: Windows_NT 10.0.16299 x64 (1709)
node: v8.9.1
npm: v5.5.1
Can anybody tell me what the problem is?
Thanks
Andreas
The text was updated successfully, but these errors were encountered: