-
Notifications
You must be signed in to change notification settings - Fork 9
Installing Rabbit Bot Packages
Yang Yuan edited this page Dec 30, 2017
·
1 revision
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 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. -
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 number2015even for VS 2017)