chore: browser example dependencies must be installed at the root first (#921)

Fixes #920
This commit is contained in:
Franck Royer 2021-04-21 18:45:50 +10:00 committed by GitHub
parent 44463b9145
commit 6456a0fff8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,13 @@ This example leverages the [Parcel.js bundler](https://parceljs.org/) to compile
## Setup ## Setup
In order to run the example, first install the dependencies from same directory as this README: In order to run the example:
- Install dependencey at the root of the js-libp2p repository (if not already done),
- then, install the dependencies from same directory as this README:
``` ```
npm install
cd ./examples/libp2p-in-the-browser cd ./examples/libp2p-in-the-browser
npm install npm install
``` ```