Skip to content

Commit

Permalink
[FAB-5418] Add prereq for npm on Windows
Browse files Browse the repository at this point in the history
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 <lehors@us.ibm.com>
  • Loading branch information
lehors committed Jul 21, 2017
1 parent 3928d37 commit 7de02d2
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions docs/source/prereqs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
<https://curl.haxx.se/download.html>`__
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 <https://curl.haxx.se/download.html>`__

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
<https://www.npmjs.com/package/windows-build-tools>`__ for more
details.

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

0 comments on commit 7de02d2

Please sign in to comment.