From 0f0d54b56a60ea80a91f96b05b74f2d42f443a15 Mon Sep 17 00:00:00 2001 From: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com> Date: Wed, 22 Mar 2023 04:48:43 -0700 Subject: [PATCH] docs(example): add helper instructions for running example (#56) Co-authored-by: Alex Potsides --- examples/fetch-file-from-kubo/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/fetch-file-from-kubo/README.md b/examples/fetch-file-from-kubo/README.md index 318ffe5..c02db34 100644 --- a/examples/fetch-file-from-kubo/README.md +++ b/examples/fetch-file-from-kubo/README.md @@ -53,6 +53,8 @@ Make sure you have installed all of the following prerequisites on your developm ### Installation and Running example +**Pre-requisite**: Because this example is in a subfolder of @libp2p/webtransport, if you are running the example inside https://github.com/libp2p/js-libp2p-webtransport, you must build at the root first. If you are running the code outside of https://github.com/libp2p/js-libp2p-webtransport, you must run `npm install --save @libp2p/webtransport` first. + ```console > npm install > npm start