How to resolve "Failed to solve some oracledb modules"?
I installed the meteor project and imported the oracledb node package . But after running the project through, meteor run
I get a console build error. Claiming that Unable to resolve some modules
.
Machine setup:
Windows 7 x64
-
node v6.9.1 x64
-
npm 3.10.9 x64
-
instaclient sdk and base x86
-
C ++ Redistributables
To debug the problem, I:
- Next Debugging Steps in This Release - Unable to Resolve Some Modules in Meteor 1.4.1.1
- checked that the package exists in node_modules, which it executes:
Question:
How can you resolve "Failed to resolve some oracledb modules" during meteor run?
Environment variables are set and the directory exists:
OCI ENV vars -
The var path is
Oracle instaclient directory location
Error log during meteor run
:
$ meteor run
[[[[[ C:\Users\derp\Documents\Projects\dmo-progam-site ]]]]]
=> Started proxy.
=> A patch (Meteor 1.4.1.3) for your current release is available!
Update this project now with 'meteor update --patch'.
=> Started MongoDB.
Unable to resolve some modules:
"../build/Release/oracledb" in
/C/Users/derp/Documents/Projects/dmo-progam-site/node_modules/oracledb/lib/oracledb.js
(os.windows.x86_32)
"../build/Debug/oracledb" in
/C/Users/derp/Documents/Projects/dmo-progam-site/node_modules/oracledb/lib/oracledb.js
(os.windows.x86_32)
=> Started your app.
=> App running at: http://localhost:3000/
source to share
Make sure the base node-oracledb examples works outside of Meteor. This will confirm that node-oracledb is installed and capable of finding Oracle and MS VS Redistributable client libraries. Make sure the architectures (32-bit or 64-bit) of Node, Oracle client libraries, and any redistributables are all the same.
source to share
We have reported this before, but I could not reproduce. Please review the steps I used here to see if they help: https://github.com/oracle/node-oracledb/issues/516#issuecomment-267480686
source to share