$ git clone https://github.com/desktop/registry-js
$ cd registry-js
$ yarn
As this project builds a native module, you'll need these dependencies along with a recent version of Node:
- Python 2.7
- Let Python install into the default suggested path (
c:\Python27
), otherwise you'll have to configure node-gyp manually with the path which is annoying. - Ensure the Add python.exe to Path option is selected.
- Let Python install into the default suggested path (
- One of Visual Studio 2015, Visual C++ Build Tools or Visual Studio 2017
- Visual C++ Build Tools
- Run
npm config set msvs_version 2015
to tell node to use this toolchain.
- Run
- Visual Studio 2015
- Ensure you select the Common Tools for Visual C++ 2015 feature as that is required by Node.js for installing native modules.
- Run
npm config set msvs_version 2015
to tell node to use this toolchain.
- Visual Studio 2017
- Ensure you select the Desktop development with C++ feature as that is required by Node.js for installing native modules.
- Run
npm config set msvs_version 2017
to tell node to use this toolchain.
- Visual C++ Build Tools