From a4371d1c4b35f8c9fe63365f4282883420842dda Mon Sep 17 00:00:00 2001 From: Chris Kay Date: Mon, 17 May 2021 11:18:56 +0100 Subject: [PATCH] docs(prerequisites): add `--no-save` to `npm install` To avoid the mistake fixed by the previous commit, ensure users install the Node.js dependencies without polluting the lock file by passing `--no-save` to the `npm install` line. Change-Id: I10b5cc17b9001fc2e26deee02bf99ce033a949c1 Signed-off-by: Chris Kay --- docs/getting_started/prerequisites.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting_started/prerequisites.rst b/docs/getting_started/prerequisites.rst index 9c65c6056..d116ce1e6 100644 --- a/docs/getting_started/prerequisites.rst +++ b/docs/getting_started/prerequisites.rst @@ -144,7 +144,7 @@ running from within your newly-cloned repository: .. code:: shell - npm install + npm install --no-save If you have opted **not** to install Node.js, you can install the Gerrit hook manually by running: -- GitLab