-
Notifications
You must be signed in to change notification settings - Fork 30k
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
RFC: make node on Windows install, or prompt users to get, windows-build-tools #22311
Comments
Providing this as an optional extra install sounds like a good idea to me. /cc @nodejs/platform-windows @felixrieseberg |
AFAIK Aside from that So IMHO keeping it as an opt-in recommendation is still the optimal option - https://github.com/nodejs/node-gyp#on-windows |
P.S. running
|
Thanks @refack. Do you think the message produced by nodesource debs to could be a good example?
I could imagine the windows installer providing similar advice to install |
That does sound like a good idea. |
PR: #22645 |
Thanks Joao! 😃✨ I
…On Sun, 2 Sep 2018 at 12:44 am, João Reis ***@***.***> wrote:
PR: #22645 <#22645>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#22311 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAKiMjlOXiOYim_pfTmo93PfDdYuDMj1ks5uWxvpgaJpZM4V8QX6>
.
|
Add a dialog during installation with information about native modules that can optionally run a Boxstarter script at the end of the installation. This script can also be run from Start menu. Fixes: #22311 PR-URL: #22645 Reviewed-By: Richard Lau <[email protected]>
Add a dialog during installation with information about native modules that can optionally run a Boxstarter script at the end of the installation. This script can also be run from Start menu. Fixes: #22311 PR-URL: #22645 Reviewed-By: Richard Lau <[email protected]>
Is your feature request related to a problem? Please describe.
Users (even experience node users like me, I'm ashamed to admit) install node for Windows on new boxes, and everything is fine installing modules for a little while until one day they need a native modules, and something seems broken. They spend a little while searching and find out they need to
yarn add global windows-build-tools
ornpm -g install windows-build-tools
Essentially,
windows-build-tools
could be considered a dependency for node on Windows in the same waygcc-c++
is on Linux. As a result, it should be handled better.Describe the solution you'd like
My gut feeling is for build tools to be installed by the node installer. Things should 'just work'.
Describe alternatives you've considered
How frequently are native modules needed? I'll let the community decide, but
If native modules are frequently needed, I'd like
windows-build-tools
to be there out of the box, in the same way thatgcc-c++
is on Linux.If there are some situations where local modules aren't needed, so we can't have
windows-build-tools
as a hard dependency, I'd like node to strongly recommend installingwindows-build-tools
- perhaps during compilation of native modules, perhaps after install.I don't have any hard thoughts one way or the other, just interested in what other Windows node users have experienced here.
The text was updated successfully, but these errors were encountered: