docs: Install and build before running examples (#11216)
This commit is contained in:
parent
1dbd985daa
commit
8626ccc742
@ -1,6 +1,6 @@
|
||||
# Running the examples
|
||||
|
||||
Assuming you have a checkout of the Puppeteer repo and have run npm i (or yarn) to install the dependencies, the examples can be run from the root folder like so:
|
||||
Assuming you have a checkout of the Puppeteer repo and have run `npm i` (or `yarn`) to install the dependencies, and `npm run build` (or `yarn run build`) to build the project, the examples can be run from the root folder like so:
|
||||
|
||||
```bash
|
||||
NODE_PATH=../ node examples/search.js
|
||||
|
Loading…
Reference in New Issue
Block a user