From e29d38c0cff2d244dd34c9610aedc106b605daa6 Mon Sep 17 00:00:00 2001 From: Gregor Date: Sat, 3 Jun 2017 17:28:52 +0200 Subject: [PATCH] docs(quickstart): workaround for npm@2 see https://github.com/hoodiehq/hoodie/issues/758 --- docs/guides/quickstart.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/guides/quickstart.rst b/docs/guides/quickstart.rst index 9ab2635c0..f19805618 100644 --- a/docs/guides/quickstart.rst +++ b/docs/guides/quickstart.rst @@ -86,6 +86,17 @@ at http://127.0.0.1:8080 after you restart the server. All assets in the public folder, like images, CSS files or JavaScript files, will be served by your Hoodie Backend at :code:`http://127.0.0.1:8080/`. +Note for npm v2 +--------------- + +Because of how npm v2 installs sub dependencies, the hoodie client cannot be +bundled. As a workaround, just install ``pouchdb-browser`` and ``@hoodie/client`` +as a dependency of your hoodie app + +.. code:: bash + + $ npm install --save pouchdb-browser @hoodie/client + What’s next? ~~~~~~~~~~~~