-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: add a note for using configure
on Windows
#1152
Conversation
I am not sure about the proper place or wording. Please, correct me. |
README.md
Outdated
@@ -91,6 +91,11 @@ platform. Use `configure` for that: | |||
$ node-gyp configure | |||
``` | |||
|
|||
For some Windows configurations, you may need to add `--msvs_version=2015` key: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd explain that it's only needed when auto-detection fails.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it OK?
@vsemozhetbyt thanks for opening this PR! I would make it something like: "Auto-detection fails for Visual C++ Build Tools 2015, so We can be clear about VCBT2015, because it is exactly and only for it that GYP fails to autodetect. |
@joaocgreis Done. |
@joaocgreis @bnoordhuis @gibfahn Can we land this? See #1149 (comment) |
Based on #1153 (comment), yes!
CI just in case: https://ci.nodejs.org/view/All/job/nodegyp-test-pull-request/10/ |
@gibfahn But I have not write access here) |
Landed in c09cf76 cc/ @bnoordhuis in case I messed something up. |
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could do ```ShellSession since it's not bash
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe something like c:\node>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe be more Windows
specific
Off I just missed the action :( |
Yeah, it was a bit untidily from me, sorry. |
@refack feel free to submit a PR! |
Fixes: #1149