Comments (14)
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.jsDownloading/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 ELIFECYCLEnpm 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.
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.
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.
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.
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.
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.
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.
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.
Anyone has inputs to have this connector working...
from loopback-connector-oracle.
What VisualStudio version do you have?
from loopback-connector-oracle.
I have Visual Studio 2013
from loopback-connector-oracle.
Express 2013 for Windows Desktop
https://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx
from loopback-connector-oracle.
I have VS 2012. It might be the case that VS 2013 is not compatible with Oracle Instant Client.
from loopback-connector-oracle.
Thanks! Works good now with VS 2012.
from loopback-connector-oracle.
Related Issues (20)
- How can make a request insensitive HOT 6
- Loopback oracle connector issues HOT 16
- Fix CI HOT 1
- Loopback 4 oracle connector is not working HOT 9
- INSERT / RETURNING fails due to upper-cased id column name. HOT 2
- New release with 3.x driver? HOT 3
- Insert into BLOB field fails HOT 3
- Feature request: Add support for connection URL HOT 4
- Oracle DB security support HOT 3
- Connector version for Loopback 2 HOT 2
- Loopback 3 error "errornum": 942, "offset": 92, HOT 2
- Run shared tests from both v3 and v4 of juggler
- Fix CI Failures HOT 3
- node-oracledb 4.0 is avaialble HOT 2
- Make local tests pass HOT 2
- New release with 4.0 driver? HOT 2
- oracledb dependency HOT 6
- NodeJS-Oracle DB - NJS-040 Connection Timeout using oracle driver with Lopback with in the ICP (loopback-connector-oracle) HOT 2
- Support for node-oracledb 5.1 HOT 4
- Node.js application not working with Oracle 19C RAC database HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loopback-connector-oracle.