1
- # Installing node-oracledb Version 4.1
1
+ # Installing node-oracledb Version 4.2
2
2
3
3
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.*
4
4
@@ -105,8 +105,8 @@ information about older versions.
105
105
- Install a C Compiler such as Xcode, GCC, Visual Studio
106
106
2017, or similar.
107
107
108
- - Run ` npm install oracle/node-oracledb.git#v4.1 .0 ` , or add
109
- ` oracle/node-oracledb.git#v4.1 .0 ` to your ` package.json `
108
+ - Run ` npm install oracle/node-oracledb.git#v4.2 .0 ` , or add
109
+ ` oracle/node-oracledb.git#v4.2 .0 ` to your ` package.json `
110
110
dependencies. Substitute your desired [ GitHub tag] [ 40 ] .
111
111
112
112
- Add Oracle 19, 18, 12, or 11.2 client libraries to your operating
@@ -1008,19 +1008,19 @@ export CC=gcc
1008
1008
```
1009
1009
1010
1010
Locate the [ GitHub tag] [ 40 ] of the desired node-oracledb version, for
1011
- example ` v4.1 .0 ` , and use the ` npm ` package manager (which is
1011
+ example ` v4.2 .0 ` , and use the ` npm ` package manager (which is
1012
1012
included in Node.js) to install it.
1013
1013
1014
1014
If you have the ` git ` utility, you can install with:
1015
1015
1016
1016
```
1017
- npm install oracle/node-oracledb.git#v4.1 .0
1017
+ npm install oracle/node-oracledb.git#v4.2 .0
1018
1018
```
1019
1019
1020
1020
Otherwise install using:
1021
1021
1022
1022
```
1023
- npm install https://github.com/oracle/node-oracledb/releases/download/v4.1 .0/oracledb-src-4.1 .0.tgz
1023
+ npm install https://github.com/oracle/node-oracledb/releases/download/v4.2 .0/oracledb-src-4.2 .0.tgz
1024
1024
```
1025
1025
1026
1026
#### 3.9.4 Install the free Oracle Instant Client 'Basic' ZIP file
@@ -1127,19 +1127,19 @@ export MAKE=gmake
1127
1127
```
1128
1128
1129
1129
Locate the [ GitHub tag] [ 40 ] of the desired node-oracledb version, for
1130
- example ` v4.1 .0 ` , and use the ` npm ` package manager (which is
1130
+ example ` v4.2 .0 ` , and use the ` npm ` package manager (which is
1131
1131
included in Node.js) to install it.
1132
1132
1133
1133
If you have the ` git ` utility, you can install with:
1134
1134
1135
1135
```
1136
- npm install oracle/node-oracledb.git#v4.1 .0
1136
+ npm install oracle/node-oracledb.git#v4.2 .0
1137
1137
```
1138
1138
1139
1139
Otherwise install using:
1140
1140
1141
1141
```
1142
- npm install https://github.com/oracle/node-oracledb/releases/download/v4.1 .0/oracledb-src-4.1 .0.tgz
1142
+ npm install https://github.com/oracle/node-oracledb/releases/download/v4.2 .0/oracledb-src-4.2 .0.tgz
1143
1143
```
1144
1144
1145
1145
#### 3.9.4 Install the free Oracle Instant Client 'Basic' ZIP file
@@ -1242,12 +1242,12 @@ The `git` utility is required for this method.
1242
1242
1243
1243
Build node-oracledb from source code by changing the package specifier
1244
1244
so that ` npm ` downloads from GitHub instead of from npmjs.com. For
1245
- example, to install the code from the GitHub tag 'v4.1 .0', add
1246
- ` oracle/node-oracledb#v4.1 .0 ` to your ` package.json ` dependencies, or
1245
+ example, to install the code from the GitHub tag 'v4.2 .0', add
1246
+ ` oracle/node-oracledb#v4.2 .0 ` to your ` package.json ` dependencies, or
1247
1247
use the command:
1248
1248
1249
1249
```
1250
- npm install oracle/node-oracledb#v4.1 .0
1250
+ npm install oracle/node-oracledb#v4.2 .0
1251
1251
```
1252
1252
1253
1253
This will download, compile and install node-oracledb.
@@ -1261,7 +1261,7 @@ Users without `git`, or with older versions of `npm` such as included in
1261
1261
Node.js 6, may alternatively need to use pre-bundled source code:
1262
1262
1263
1263
```
1264
- npm install https://github.com/oracle/node-oracledb/releases/download/v4.1 .0/oracledb-src-4.1 .0.tgz
1264
+ npm install https://github.com/oracle/node-oracledb/releases/download/v4.2 .0/oracledb-src-4.2 .0.tgz
1265
1265
```
1266
1266
1267
1267
Note it may take some time before compilation begins due to the slow
@@ -1295,7 +1295,7 @@ installing.
1295
1295
#### <a name =" nogithubaccess " ></a > 3.10.3 Compiling node-oracledb without GitHub Access
1296
1296
1297
1297
Some companies block access to github.com so compiling source code
1298
- from GitHub with ` npm install oracle/node-oracledb.git#v4.1 .0 ` will
1298
+ from GitHub with ` npm install oracle/node-oracledb.git#v4.2 .0 ` will
1299
1299
fail.
1300
1300
1301
1301
Oracle has a mirror of the GitHub repository source code that can be
@@ -1400,7 +1400,7 @@ See [Node.js for Oracle Linux][46] for details.
1400
1400
You can host node-oracledb packages locally.
1401
1401
1402
1402
Download the node-oracledb package from npm, for example from
1403
- [ ` https://registry.npmjs.com/oracledb/-/oracledb-4.1 .0.tgz ` ] ( https://registry.npmjs.com/oracledb/-/oracledb-4.1 .0.tgz )
1403
+ [ ` https://registry.npmjs.com/oracledb/-/oracledb-4.2 .0.tgz ` ] ( https://registry.npmjs.com/oracledb/-/oracledb-4.2 .0.tgz )
1404
1404
Alternatively, if you want to build your own binaries and
1405
1405
node-oracledb package, the maintainer scripts in
1406
1406
[ /package] ( https://github.com/oracle/node-oracledb/tree/master/package )
@@ -1409,19 +1409,19 @@ can be used. See
1409
1409
for details.
1410
1410
1411
1411
If you make the package accessible on your local web server, for
1412
- example at www.example.com/oracledb-4.1 .0.tgz , then your
1412
+ example at www.example.com/oracledb-4.2 .0.tgz , then your
1413
1413
install command would be:
1414
1414
1415
1415
```
1416
- npm install https://www.example.com/oracledb-4.1 .0.tgz
1416
+ npm install https://www.example.com/oracledb-4.2 .0.tgz
1417
1417
```
1418
1418
1419
1419
or your ` package.json ` would contain:
1420
1420
1421
1421
```
1422
1422
. . .
1423
1423
"dependencies": {
1424
- "oracledb": "https://www.example.com/oracledb-4.1 .0.tgz"
1424
+ "oracledb": "https://www.example.com/oracledb-4.2 .0.tgz"
1425
1425
},
1426
1426
. . .
1427
1427
```
0 commit comments