-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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: updating vs cpp build tool installation steps in building #24462
Conversation
* The "Desktop development with C++" workload from | ||
[Visual Studio 2017](https://www.visualstudio.com/downloads/) or the | ||
"Visual C++ build tools" workload from the | ||
* The "Build Tools for Visual Studio 2017" workload from the |
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'll try to suggest an alternative for this whole bullet point:
[Visual Studio 2017](https://www.visualstudio.com/downloads/) or the
[Build Tools for Visual Studio 2017](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2017).
Installed with the "Visual C++ build tools" Workload,
and if available the "Git for Windows" and "Python 2 32-bit (2.7.x)" Individual
Components.
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.
Sounds good to me 👍
BTW do you know what the Node.js component adds?
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.
BTW do you know what the Node.js component adds?
AFAIK it installs an LTS version (with our installer and it's defaults). Apropo that, it installs python with it's installer and it's defaults, which unfortunately do not include "Add to Path". So out-of-the-box it only works with the "Developer Command Prompt for VS 2017".
But as I showed before, even if you don't select it the node binary gets in there anyway (FTR I did not start any of those explicitly) 😜
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.
ping @joshgav @johnmont @AmandaSilver could you tell us what do the 4 above mentioned Node.js related components install, or please connect us with someone who can help?
P.S. the two in the screenshot and
- Runtime for components based on Node.js v6.4.0 (x86)
- Runtime for components based on Node.js v7.4.0 (x86)
Hello @krishnanandsivaraj and welcome. Thank you very much for the contribution 🥇 P.S. If you have any questions you can also feel free to contact me directly. |
@krishnanandsivaraj - if you can, please see to fix the linter errors: If you want to know the reason for this failure, the contributing.md that @refack pointed out has the guidelines for commit messages which the linter enforces. |
@krishnanandsivaraj - looks like you acknowledged my request but did not action on it. Let me clarify;
you could fix all of these by: that opens up the editor, in which you could: and then save and quit. the editor opens again, this time you could amend the commit message to address the three errors. then save and quit, and Hope this helps. |
I am fixing it. |
111e00e
to
4416a15
Compare
4416a15
to
9b14c79
Compare
Okay. Fixed. |
https://ci.nodejs.org/job/node-test-commit-freebsd/nodes=freebsd11-x64/22269/console Would like to know more about this build failure. This is not because of my changes I hope.
|
It's a flake (#23089), that is a test that fails but only occasionally (usually because of a delicate timing issue, or a very specific state of the testing machine). Resume CI: https://ci.nodejs.org/job/node-test-pull-request/18944/ |
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.
Need to restore mention of Visual Studio 2017
FYI @krishnanandsivaraj because our policy state that a PR could land with only 1 approval after 7 days, I've used the ❌, so that this doesn't land by mistake before we finalize the wording. |
Okay. I would also like to know the finalized wordings. Are these finalized?
If yes, I would like to try setup node again with these steps, make a commit and push it here shortly. |
That would be very responsible (what I should expect, but don't assume ;) |
@krishnanandsivaraj Do you need any more information or do you have what you need to finish this? |
I will go with @refack 's suggestions. There are two ways to install it 1) through vs2017, 2) using chocolatey. I would like to try that in my system, check if works before i commit. I will be able to progress only by this weekend. I think i have enough information :) |
few more days. It will be done!! |
I'm going to close this as stalled, but feel absolutely free to comment and/or use the Reopen button if this is still being worked on. (Same for any Collaborators that want to jump in and finish this. @refack) |
Checklist
I have set up the source code in windows. It seems the installation steps for visual c++ build tools have changed a little recently. Previously it might be 'build tools for visual c++' installer directly available in the visual studio website. Now the steps are to download 'Build Tools for visual studio 2017' and choose 'visual c++ build tools'.
Please refer the screenshot for more information
This is my first commit. Let me know for any changes. Willing to contribute more in the coming days :)
Thanks
Krishnanand Sivaraj