I've setup a meteor project and imported the oracledb node package.
But after starting the project via meteor run
I get a console build error. Stating that Unable to resolve some modules
.
Machine setup:
Windows 7 x64
node v6.9.1 x64
npm 3.10.9 x64
instaclient sdk and basic x86
C++ redistributables
To debug the issue I've:
Question:
How can you resolve "Unable to resolve some modules oracledb" during a meteor run?
Environment Variables are set and directory exists:
OCI ENV vars -
Path var-
Directory location of Oracle instaclient
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/
Check that basic node-oracledb examples run outside Meteor. This will confirm that node-oracledb is installed and able to find the Oracle client libraries and MS VS Redistributable. Make sure the architectures (32-bit or 64-bit) of Node, Oracle client libraries, and the Redistributable all match.