Skip to content

Installing Rabbit Bot Packages

Yang Yuan edited this page Dec 30, 2017 · 1 revision

Install NPM package

The NPM package contains the source code, the node-gyp will be used for building the package. However, node-gyp might bring you some trouble. windows-build-tools can solve all the troubles for you.

npm install --global --production windows-build-tools

Install NPM without windows-build-tools

  1. Install Python27.

    Python2 is required for node-gyp (and not Python3). If you have python27 but didn't get recognized, you can set $PYTHON env by SET PYTHON=\path\to\python27\python.exe.

  2. Install Visual Studio with C++ support.

    Any Visual Studio later than 2013 should work. If you have MSVS 2015/2017 installed but not recognized, you might want to run npm config set msvs_version 2015 --global. (Use number 2015 even for VS 2017)

Clone this wiki locally