From 7de02d272438d734d6ae3febbc5a1dbbd54166e5 Mon Sep 17 00:00:00 2001 From: Arnaud J Le Hors Date: Fri, 21 Jul 2017 11:15:26 -0700 Subject: [PATCH] [FAB-5418] Add prereq for npm on Windows This change adds documentation on how to install the Visual Studio C++ tools necessary to build the Node.js native modules used in our samples. Change-Id: I78277d937bcb5e697620b122061c6050d2570448 Signed-off-by: Arnaud J Le Hors --- docs/source/prereqs.rst | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/docs/source/prereqs.rst b/docs/source/prereqs.rst index 5bc24e2c69e..69a6c0543da 100644 --- a/docs/source/prereqs.rst +++ b/docs/source/prereqs.rst @@ -124,11 +124,22 @@ You can check the setting of these parameters with the following commands: These need to be ``false`` and ``true`` respectively. -.. note:: The ``curl`` command that comes with Git and Docker Toolbox - is old and does not handle properly the redirect used in - :doc:`getting_started`. Make sure you install and use a - newer version from the `cURL downloads page - `__ +The ``curl`` command that comes with Git and Docker Toolbox is old and +does not handle properly the redirect used in +:doc:`getting_started`. Make sure you install and use a newer version +from the `cURL downloads page `__ + +For Node.js you also need the necessary Visual Studio C++ Build Tools +which are freely available and can be installed with the following +command: + +.. code:: bash + + npm install --global windows-build-tools + +See the `NPM windows-build-tools page +`__ for more +details. .. Licensed under Creative Commons Attribution 4.0 International License https://creativecommons.org/licenses/by/4.0/