Created
August 6, 2016 00:12
-
-
Save wordijp/08c5c1ca0c0c8f3a8d1014020fd02a1c to your computer and use it in GitHub Desktop.
Windowsでnode-gyp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
公式も役立つ | |
https://github.com/nodejs/node-gyp | |
1. Visual C++ Build Toolsをデフォルトオプションのままインストール | |
2. Python2.7をインストール | |
3. | |
``` | |
$ npm config set msvs_version 2015 | |
$ npm config set python d:\path\to\python27\python.exe | |
``` | |
4. $ npm install --global node-gyp | |
5. $ npm install node-gyp | |
6. エラーが出たら | |
``` | |
# https://github.com/nodejs/node-gyp/issues/972 | |
$ npm -g install npm@next | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment