-
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
vcbuild.bat fails with "input line too long" #13765
Comments
tniessen
added
build
Issues and PRs related to build files or the CI.
windows
Issues and PRs related to the Windows platform.
labels
Jun 18, 2017
/cc @nodejs/platform-windows |
cc @refack |
This is a regression introduced in 780acc2. |
2 tasks
refack
added a commit
to refack/node
that referenced
this issue
Jul 9, 2017
PR-URL: nodejs#13806 Fixes: nodejs#13765 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Kunal Pathak <kunal.pathak@microsoft.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running
vcbuild.bat
appends data to thePATH
environment variable. After several runs, the value of the variable becomes so long that VC batch files crash with an error message saying "Input line is too long", which is not really surprising considering the relatively small limit of about 8k for command lines on Windows.This line calls a number of batch scripts which configure the environment to use the VS2015 toolchain:
This answer might offer a solution to the problem:
However, I am not too familiar with VC-internal batch files and have no idea about side-effects or alternatives, so any insights would be useful here.
@seishun was able to reproduce this on VS2015, but not on VS2017.
The text was updated successfully, but these errors were encountered: