Skip to content

Commit

Permalink
docs: add cairo deps
Browse files Browse the repository at this point in the history
Add instructions for installing OS-level dependencies required for building `cairo` NPM package.
  • Loading branch information
jhpedemonte authored Nov 1, 2023
1 parent eb1eb84 commit b5c560b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ or
git clone https://github.com/watson-developer-cloud/discovery-components.git
```

3. To generate the dependencies for all of the packages, run the following at the root directory:
3. Install OS dependencies for building NPM packages (required for building `cairo`, which is used by `pdfjs`):

Follow the installation instructions for your OS from https://github.com/Automattic/node-canvas#compiling.

5. To generate the dependencies for all of the packages, run the following at the root directory:

```
yarn
Expand Down

0 comments on commit b5c560b

Please sign in to comment.