Nodejs-004-oracle Driver Compilation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.