Option 1:

  1. Copy the node-regatta driver tar file provided by Regatta and place it in the directory where you want to install it. This is typically the directory where your project’s package.json file is located.

  2. Run the following command:

npm install path/to/node-regatta-*.tar.gz

The driver will install the necessary dependencies and update the package-lock.json file accordingly. The output should look something like this:

Figure 50 Install Node.js driver

Option 2:

Add node-regatta dependency to your project’s package.json:

"dependencies": {

 "node-regatta": "file: path/to/node-regatta.tgz"

}