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

enter image description here

To debug the problem, I:

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 -

enter image description here

The var path is

enter image description here

Oracle instaclient directory location

enter image description here

node_modules

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/

      

+3


source to share


2 answers


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.



+2


source


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



+1


source







All Articles