From 6456a0fff812ce7d99fa7d09a4ffc9e264f4faa8 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Wed, 21 Apr 2021 18:45:50 +1000 Subject: [PATCH] chore: browser example dependencies must be installed at the root first (#921) Fixes #920 --- examples/libp2p-in-the-browser/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/libp2p-in-the-browser/README.md b/examples/libp2p-in-the-browser/README.md index fbb25a8b..e98a5ad6 100644 --- a/examples/libp2p-in-the-browser/README.md +++ b/examples/libp2p-in-the-browser/README.md @@ -4,9 +4,13 @@ This example leverages the [Parcel.js bundler](https://parceljs.org/) to compile ## 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 npm install ```