From e585a9da54e55c83130413aa1a22953aba8b09e4 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Tue, 21 Mar 2017 13:52:09 +0200 Subject: [PATCH] doc: add a note for using `configure` on Windows Fixes: https://github.com/nodejs/node-gyp/issues/1149 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 22415430a0..d5443080dd 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,12 @@ platform. Use `configure` for that: $ node-gyp configure ``` +Auto-detection fails for Visual C++ Build Tools 2015, so `--msvs_version=2015` +needs to be added (not needed when run by npm as configured above): +``` bash +$ node-gyp configure --msvs_version=2015 +``` + __Note__: The `configure` step looks for the `binding.gyp` file in the current directory to process. See below for instructions on creating the `binding.gyp` file.