docs: Install and build before running examples (#11216)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Running the examples
|
# 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
|
```bash
|
||||||
NODE_PATH=../ node examples/search.js
|
NODE_PATH=../ node examples/search.js
|
||||||
|
|||||||
Reference in New Issue
Block a user