First, reference articles
https://community.oracle.com/docs/DOC-931127
Http://www.cnblogs.com/stone_w/p/4794747.html
http://giscafer.com/2016/04/13/node-oracledb-demo/#more
Http://www.tuicool.com/articles/jEfuqmA
Https://www.npmjs.com/package/node-gyp
Http://www.cnblogs.com/stone_w/p/4794747.html
http://bbs.csdn.net/topics/391860367
Http://www.myexception.cn/cpp/2041006.html
http://blog.csdn.net/gzliudan/article/details/27952553
Second, the place to avoid the pit
1, Python, Oracle, Nodejs 32-bit, 64-bit points, need the same version, recommended 64-bit;
2, Python needs to install 2.7;
3, such as Oracle server is not in this machine, need to download instant, is also 64 bits, the main use of the inside of the header files, as well as the operation of the Oci.dll;
4, the Oracle driver needs to be configured in the system environment variables, specific reference to the above article;
5, install Nodejs, need to further install NPM, NODE-GYP, these may install Nodejs has been installed, note that Node-gyp may be in the global, also may be in the Nodejs installation directory, compile oracledb have a certain difference;
6, need to install C + + compiler, some from. NET platform switch over, may not have installed C + + compiler, using daemon to load VS2015 ISO, choose c + + option installation, can follow the official introduction to install VS2010, VS2012, VS2013 Express version, but must install C + + compiler ;
7, using NPM to install Oracle, the official authentic is oracledb, because Oracle has been used on GitHub, it seems that NPM install-g Oracle is also possible, but the recommended use of NPM install-g oracledb;
8, finally, I wish good luck, a success, or will be tossing and dying, do not know why, because it involves the environment of each technology platform, there are Oracle, Python, C + +, Node-gyp and so on.
Nodejs-004-oracle Driver Compilation