如何解决"Unable to resolve some modules oracledb"?
How to resolve "Unable to resolve some modules oracledb"?
我设置了一个流星项目并导入了 oracledb node package。
但是在通过 meteor run
启动项目后,我收到控制台构建错误。说明 Unable to resolve some modules
.
机器设置:
Windows 7 x64
node v6.9.1 x64
npm 3.10.9 x64
instaclient sdk 和基本 x86
C++ 可再发行组件
为了调试我的问题:
- 按照本期的调试步骤 - Unable to resolve some modules in Meteor 1.4.1.1
- 已检查包是否存在于 node_modules 中:
问题:
如何在流星 运行 期间解决 "Unable to resolve some modules oracledb"?
环境变量已设置且目录存在:
OCI 环境变量 -
路径变量-
Oracle instaclient的目录位置
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/
我们之前有人报告过这个问题,但我无法重现。请查看我在此处使用的步骤,看看它们是否有帮助:https://github.com/oracle/node-oracledb/issues/516#issuecomment-267480686
检查 Meteor 之外的基本节点 oracledb examples 运行。这将确认 node-oracledb 已安装并且能够找到 Oracle 客户端库和 MS VS Redistributable。确保 Node、Oracle 客户端库和 Redistributable 的体系结构(32 位或 64 位)都匹配。
我设置了一个流星项目并导入了 oracledb node package。
但是在通过 meteor run
启动项目后,我收到控制台构建错误。说明 Unable to resolve some modules
.
机器设置:
Windows 7 x64
node v6.9.1 x64
npm 3.10.9 x64
instaclient sdk 和基本 x86
C++ 可再发行组件
为了调试我的问题:
- 按照本期的调试步骤 - Unable to resolve some modules in Meteor 1.4.1.1
- 已检查包是否存在于 node_modules 中:
问题:
如何在流星 运行 期间解决 "Unable to resolve some modules oracledb"?
环境变量已设置且目录存在:
OCI 环境变量 -
路径变量-
Oracle instaclient的目录位置
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/
我们之前有人报告过这个问题,但我无法重现。请查看我在此处使用的步骤,看看它们是否有帮助:https://github.com/oracle/node-oracledb/issues/516#issuecomment-267480686
检查 Meteor 之外的基本节点 oracledb examples 运行。这将确认 node-oracledb 已安装并且能够找到 Oracle 客户端库和 MS VS Redistributable。确保 Node、Oracle 客户端库和 Redistributable 的体系结构(32 位或 64 位)都匹配。