-
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
Unable to resolve some modules in Meteor 1.4.1.1 #516
Comments
The same here. I am using Ubuntu, Meteor 1.4.1.2 and Node 4.6. I've tried to re-build the package but didn't work. Any hints? |
Have you reached out to the Meteor team? I'm wondering if there's a way to enable a more verbose error output. "Unable to resolve some modules" is not ver helpful... |
sorry guys, I did the Oracle part in Python while waiting for a valid solution |
The first place to look with these kind of issues is whether the invoking shell has LD_LIBRARY_PATH set correctly. If that's too complex to identify (sudo may clobber the environment, other shells may start with a clean env etc), and you only have the one Oracle client installed on the machine, look at using ldconfig on Linux. |
@oursonvie @AlberH I'm trying to reproduce the issue you ran into but I'm not having any luck. Here's an overview of what I did: Installed Meteor: curl https://install.meteor.com/ | sh Installed the sample app and tested: meteor create simple-todos
cd simple-todos
meteor npm install
meteor That all worked fine. I stopped the application and then installed oracledb (meteor-node-stubs was already installed): meteor npm install oracledb --save Next, I modified server/main.js to import and use the driver (just a connection test): import { Meteor } from 'meteor/meteor';
import oracledb from 'oracledb';
oracledb.getConnection({
user: "hr",
password: "topsecret",
connectString: "test-db/orcl"
}).then(conn => {
console.log('got conenction', conn);
}).catch(err => {
console.log('got error', err);
});
Meteor.startup(() => {
// code to run on server at startup
}); When I started the application again it started fine and connection details were logged to the terminal. I'm unable to reproduce the error you're seeing. Could either of you create a reproducible test case? |
@dmcghan Thanks mate, I tried last week and I can confirm that the error is gone, at least for my case. |
@oursonvie thanks for the confirmation. And thanks @dmcghan for chasing it up. |
I installed oracledb using
then when I try to load the module it turns me
I can run example code using node
in using Node v6.5.0, instantclient-basic-macos.x64-12.1.0.2.0, instantclient-sdk-macos.x64-12.1.0.2.0, oracledb 1.11.0 on macOS Sierra 10.12
The text was updated successfully, but these errors were encountered: