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