Git Product home page Git Product logo

Comments (14)

raymondfeng avatar raymondfeng commented on July 17, 2024

Are you on a 32 bit Windows? If so, we haven’t published a prebuilt image for the driver.

Thanks,


Raymond Feng
Co-Founder and Architect @ StrongLoop, Inc.

StrongLoop http://strongloop.com/ makes it easy to develop APIs http://strongloop.com/mobile-application-development/loopback/ in Node, plus get DevOps capabilities http://strongloop.com/node-js-performance/strongops/ like monitoring, debugging and clustering.

On May 11, 2015, at 6:18 AM, providabhi [email protected] wrote:

Hi,

While trying to install the connector with Node (v0.12.0) and npm (v2.9.1), i am getting the following error

C:\TD\USTS\NodeWorkspaces\DBConnect>npm install loopback-connector-oracle --save

\

[email protected] install C:\TD\USTS\NodeWorkspaces\DBConnect\no
de_modules\loopback-connector-oracle\node_modules\loopback-oracle-installer
node pkginstall.js

Downloading/Extracting http://7e9918db41dd01dbf98e-ec15952f71452bc0809d79c86f575
1b6.r22.cf1.rackcdn.com/loopback-oracle-Windows-x86-abi14-1.5.0.tar.gz
events.js:85
throw er; // Unhandled 'error' event
^
Error: incorrect header check
at Zlib._handle.onerror (zlib.js:366:17)
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "node" "C:\Users\Redirection\arathor\AppData\npm\node_module
s\npm\bin\npm-cli.js" "install" "loopback-connector-oracle" "--save"
npm ERR! node v0.12.0
npm ERR! npm v2.9.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node pkginstall.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node pkgi
nstall.js'.
npm ERR! This is most likely a problem with the loopback-oracle-installer packag
e,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node pkginstall.js
npm ERR! You can get their info via:
npm ERR! npm owner ls loopback-oracle-installer
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\TD\USTS\NodeWorkspaces\DBConnect\npm-debug.log


Reply to this email directly or view it on GitHub #39.

from loopback-connector-oracle.

providabhi avatar providabhi commented on July 17, 2024

I have 64 bit WIndows 7 Enterprise Edition. However the Node JS i have is 32 bit.

The loopback-connector-oracle is only for 64-bit versions?

from loopback-connector-oracle.

raymondfeng avatar raymondfeng commented on July 17, 2024

You should install the 64 bit Node. We start to deprecate the 32 bit support as iojs doesn't ship 32 bit version for Windows.

from loopback-connector-oracle.

providabhi avatar providabhi commented on July 17, 2024

Thanks! I was able to do a install with 64 bit version of Node.

However now when I do a simple project using strongloop, it looks like it ws not properly installed, even though it said it did.
--> slc loopback
--> Create the data source on "slc arc" and do "Test Connection", i get the following error
--> package.json has
"dependencies": {
"compression": "^1.0.3",
"cors": "^2.5.2",
"errorhandler": "^1.1.1",
"loopback": "^2.14.0",
"loopback-boot": "^2.6.5",
"loopback-connector-oracle": "^1.7.2",
"loopback-datasource-juggler": "^2.19.0",
"serve-favicon": "^2.0.1"
},

Oops! Something is wrong

Connector "oracle" is not installed.

Add the connector to your project, configure the environment variables, restart Arc and try again. See docs: Installing the Oracle connector for more information.

Show/hide details

Name: InvocationError
Message: Connector "oracle" is not installed.
Request: /workspace/api/DataSourceDefinitions/server.HostStateDB/testConnection
Staus: 500
InvocationError: Connector "oracle" is not installed.
at missingConnector (C:\Users\Redirection\AppData\npm\node_modules\strongloop\node_modules\loopback-workspace\models\data-source-definition.js:358:13)
at ChildProcess. (C:\Users\Redirection\AppData\npm\node_modules\strongloop\node_modules\loopback-workspace\models\data-source-definition.js:313:19)
at ChildProcess.g (events.js:180:16)
at ChildProcess.emit (events.js:98:17)
at handleMessage (child_process.js:322:10)
at Pipe.channel.onread (child_process.js:349:11)

from loopback-connector-oracle.

providabhi avatar providabhi commented on July 17, 2024

so if I do "slc run", i get the error. I have tried installing the loopback-connector-oracle quite a few times. taken the steps for Windows at following link:
http://docs.strongloop.com/display/public/LB/Installing+the+Oracle+connector

WARNING: LoopBack connector "oracle" is not installed as any of the following modules:

./connectors/oracle
loopback-connector-oracle

To fix, run:

npm install loopback-connector-oracle

events.js:72
throw er; // Unhandled 'error' event
^
Error:
WARNING: LoopBack connector "oracle" is not installed as any of the following mo
dules:

./connectors/oracle
loopback-connector-oracle

To fix, run:

npm install loopback-connector-oracle

from loopback-connector-oracle.

raymondfeng avatar raymondfeng commented on July 17, 2024

Can you dump out the env vars for PATH to check if the Oracle instant client DLLs are on the path?

from loopback-connector-oracle.

providabhi avatar providabhi commented on July 17, 2024

yes i can see the instant client on my PATH installed by loopback-connector-oracle
C:\Users\Redirection\AppData\npm\node_modules\loopback-connector-oracle\node_modules\instantclient\vc11;
C:\Users\Redirection\AppData\npm\node_modules\loopback-connector-oracle\node_modules\instantclient;

The following the the path (echo %PATH%) on my windows (x64) machine

C:\Users\Redirection\AppData\npm;
C:\AR\Software\PYTHON27;
C:\AR\Software\PYTHON27\Scripts;
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0;
C:\Program Files (x86)\Microsoft Application Virtualization Client;
C:\Program Files (x86)\Enterprise Vault\EVClient;
C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;
C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;
C:\Program Files\Intel\WiFi\bin;
C:\Program Files\Common Files\Intel\WirelessCommon;
C:\Program Files\Lenovo\Fingerprint Manager Pro;
C:\PROGRA2\INTEGR1\Toolkit\mksnt;
C:\AR\Software\PuTTY;
c:\AR\software\java\8u11\jre\bin;
C:\Program Files\Microsoft SQL Server\110\Tools\Binn;
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;
C:\Program Files\MicrosoftSQL Server\120\Tools\Binn;
C:\AR\Software\Node\nodejs_1038_64;
C:\AR\USTS\NodeWorkspaces\DBConnect\node_modules\loopback-connector-oracle\node_modules\instantclient\vc11;
C:\AR\USTS\NodeWorkspaces\DBConnect\node_modules\loopback-connector-oracle\node_modules\instantclient;
C:\Users\Redirection\AppData\npm\node_modules\loopback-connector-oracle\node_modules\instantclient\vc11;
C:\Users\Redirection\AppData\npm\node_modules\loopback-connector-oracle\node_modules\instantclient;
C:\AR\Software\Tools\Ant170\bin;
C:\AR\Software\Tools\Maven311\bin;
C:\Users\Redirection\AppData\npm;
C:\AR\Software\PYTHON27;
C:\AR\Software\PYTHON27\Scripts;
C:\Program Files (x86)\Integrity\IntegrityClient10\bin;
C:\Program Files (x86)\RSA SecurID Token Common;
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0;
C:\Program Files (x86)\Microsoft Application Virtualization Client;
C:\Program Files (x86)\Enterprise Vault\EVClient;
C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;
C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;
C:\Program Files\Intel\WiFi\bin;
C:\Program Files\Common Files\Intel\WirelessCommon;
C:\Program Files\Lenovo\FingerprintManager Pro;
C:\PROGRA2\INTEGR1\Toolkit\mksnt;
C:\AR\Software\PuTTY;
%JAVA_HOME%\bin;
C:\Program Files\Microsoft SQL Server\110\Tools\Binn;
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;
C:\Program Files\Microsoft SQL Server\120\Tools\Binn;
C:\AR\Software\Node\nodejs_1038_64;
C:\AR\USTS\NodeWorkspaces\DBConnect\node_modules\loopback-connector-oracle\node_modules\instantclient\vc11;
C:\AR\USTS\NodeWorkspaces\DBConnect\node_modules\loopback-connector-oracle\node_modules\instantclient;
C:\Users\Redirection\AppData\npm\node_modules\loopback-connector-oracle\node_modules\instantclient\vc11;
C:\Users\Redirection\AppData\npm\node_modules\loopback-connector-oracle\node_modules\instantclient;
%ANT_HOME%\bin;
%M2_HOME%\bin;
%PATH%

from loopback-connector-oracle.

providabhi avatar providabhi commented on July 17, 2024

just trying to make sure around the versions i have installed

Node (v0.10.38)
NPM (v1.4.28)
loopback-connector-oracle(v1.7.2)
strongloop v4.0.2 (node v0.10.38)
├── [email protected] (a6c841f)
├── [email protected] (0cb88da)
├── [email protected] (ada97d4)
├── [email protected] (4629260)
├── [email protected] (aab3dbb)
├── [email protected] (04195e6)
├─┬ [email protected] (baa3fcd)
│ └── [email protected]
├── [email protected] (5219ef1)
├── [email protected]
└── [email protected]

is there any plce where i can verify if this versions are a correct match to be working in sync with each other.

from loopback-connector-oracle.

providabhi avatar providabhi commented on July 17, 2024

Anyone has inputs to have this connector working...

from loopback-connector-oracle.

raymondfeng avatar raymondfeng commented on July 17, 2024

What VisualStudio version do you have?

from loopback-connector-oracle.

providabhi avatar providabhi commented on July 17, 2024

I have Visual Studio 2013

from loopback-connector-oracle.

providabhi avatar providabhi commented on July 17, 2024

Express 2013 for Windows Desktop

https://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx

from loopback-connector-oracle.

raymondfeng avatar raymondfeng commented on July 17, 2024

I have VS 2012. It might be the case that VS 2013 is not compatible with Oracle Instant Client.

from loopback-connector-oracle.

providabhi avatar providabhi commented on July 17, 2024

Thanks! Works good now with VS 2012.

from loopback-connector-oracle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.