Utilities to install and troubleshoot loopback-connector-oracle module.
Note:
This command requires LoopBack CLI version 2.4.0+. Install the latest version of LoopBack CLI by entering the command npm i -g loopback-cli
.
Synopsis
lb oracle [options]
Options
--connector
- Install loopback-connector-oracle module
--driver
- Install oracledb module.
--verbose
- Print verbose information
Standard options
-h, --help
- Print the generator’s options and usage.
--skip-cache
- Do not remember prompt answers. Default is false.
--skip-install
- Do not automatically install dependencies. Default is false.
Interactive Prompts
The tool determines if the Oracle Instant Client is installed and then checks
if the loopback-connector-oracle
module can be loaded.
The loopback-connector-oracle
module depends on the Oracle Node.js Driver oracledb,
which is a binary addon.
The oracledb
module requires Oracle Instant Client at
both build and run time. See Installation Guide for oracledb
for more information.
If loopback-connector-oracle
is ready to use, the tool will print Oracle connector is ready
and exit.
Otherwise, it will prompt you to install:
- Oracle Instant Client
- loopback-connector-oracle
- oracledb module