-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
"The command line is too long" from build\all.py #1228
Comments
Here are some numbers on command-line length taken from my workstation. These depend on the state of the project today, the length of the path to my working directory, and other factors. But these should provide a sense of scale.
Windows has an 8kB limit on command line length. It's not clear to me why we would have only recently started tripping over this limit, or if there are any exceptions. All of these commands are invoked from python using |
The problem seems to come from the addition of eslint, specifically. It's the long list of files, combined with the use of |
Related to work on issue #1157 |
This avoids line-length limits on Windows in the node module's pass-through shell script. The long list of files, combined with a node module's bin file, tripped the Windows command-line length limit of 8k. The transition to eslint, therefore, broke the Windows build. Issue #1157 Closes #1228 Change-Id: Ie57624efbbbfb4a27035e82ab12e788d18652ae3
Cherry-picked to v2.3.1. |
I pulled latest master branch and got the error below when running build\all.py.
This is on Windows 10 v1709.
The script stops at the above point.
The text was updated successfully, but these errors were encountered: