Skip to content

Commit 7de02d2

Browse files
committed
[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 <[email protected]>
1 parent 3928d37 commit 7de02d2

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

docs/source/prereqs.rst

+16-5
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,22 @@ You can check the setting of these parameters with the following commands:
124124

125125
These need to be ``false`` and ``true`` respectively.
126126

127-
.. note:: The ``curl`` command that comes with Git and Docker Toolbox
128-
is old and does not handle properly the redirect used in
129-
:doc:`getting_started`. Make sure you install and use a
130-
newer version from the `cURL downloads page
131-
<https://curl.haxx.se/download.html>`__
127+
The ``curl`` command that comes with Git and Docker Toolbox is old and
128+
does not handle properly the redirect used in
129+
:doc:`getting_started`. Make sure you install and use a newer version
130+
from the `cURL downloads page <https://curl.haxx.se/download.html>`__
131+
132+
For Node.js you also need the necessary Visual Studio C++ Build Tools
133+
which are freely available and can be installed with the following
134+
command:
135+
136+
.. code:: bash
137+
138+
npm install --global windows-build-tools
139+
140+
See the `NPM windows-build-tools page
141+
<https://www.npmjs.com/package/windows-build-tools>`__ for more
142+
details.
132143

133144
.. Licensed under Creative Commons Attribution 4.0 International License
134145
https://creativecommons.org/licenses/by/4.0/

0 commit comments

Comments
 (0)