From 1b8a24210b921f3baec738fd8b4e77b0dbff33fa Mon Sep 17 00:00:00 2001 From: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com> Date: Tue, 21 Mar 2023 16:11:06 -0700 Subject: [PATCH] docs(example): add helper instructions for running example --- 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