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.
Run the following command:
Copy
Ask AI
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: