Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.33 KB

index.md

File metadata and controls

31 lines (25 loc) · 1.33 KB

Documentation

API

Setup

$ 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.
  • 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.
    • 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.