Hi, Athan.

I'll advise you to 
use http://strongloop.com/community/node-republic-forums/loopback/ for 
further discussions as this is a user-land module related question :-)

When you run 'npm install', the loopback-connector-oracle module will 
install Oracle instant client, which is the client library for the 
node-oracle driver. The dynamic lib path is set up in the profile to 
provide dependency to the node-oracle addon. To activate it, you'll have to 
logout/login again.

Can you check if you see the following settings in .bash_profile (if you 
use bash) or .profile? I assume you are on Mac or Linux.

# __loopback-oracle-installer__:  Thu Oct 31 22:23:29 PDT 2013

export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH
:/Users/rfeng/Projects/loopback/loopback-recipes/node_modules/loopback-connector-oracle/node_modules/instantclient
"
Check 'run-tests' inside the module to see the manual settings if you don't 
want to mess up your environment vars.

You can find more information at:

http://docs.strongloop.com/loopback-connector-oracle/
http://docs.strongloop.com/loopback-oracle-installer/

Thanks,
Raymond


On Friday, November 1, 2013 1:09:14 AM UTC-7, Wung Than wrote:
>
> Hello,
>
> This is Athan and I am new to node.js .
>
> I have trying to set up oracle connection but I am unable to so far.
>
> The error I am getting is "cannot find module oracle" .
>
> *So I install loopback-connector-oracle (
> https://github.com/strongloop/loopback-connector-oracle) through npm.*
>
> But I got an error saying This specified module could not be found.
>
> In my source code i declare the variable as follows:
>
> *var oracleConnector = require('loopback-connector-oracle');
> //var oracle = require('oracle');*
>
> Would be very grateful if you could kindly guide me step by step on how to 
> connect to oracle database.
>
> Thank you..
>
> Regards,
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to