question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The command line is too long(windows)

See original GitHub issue

I ran my project through prettier and ended up with 99+ modified files. Am using cmder on windows 8 and I got this while trying to commit:

λ git commit -m "Make it prettier"
25l[20:30:20] Running tasks for src/**/*.js [started]
[20:30:20] eslint --fix [started]
[20:30:20] eslint --fix [failed]
[20:30:20] → 🚫 eslint --fix found some errors. Please fix them and try committing again.
The command line is too long.
Stack Trace
{ Error: Command failed: E:\Projects\repos\elastic-builder\node_modules\.bin\eslint.CMD --fix -- E:\Projects\repos\elastic-builder\src\queries\term-level-queries\wildcard-query.js E:\Projects\repos\elastic-builder\src\queries\term-level-queries\value-term-query-base.js E:\Projects\repos\elastic-builder\src\queries\term-level-queries\type-query.js E:\Projects\repos\elastic-builder\src\queries\term-level-queries\terms-query.js E:\Projects\repos\elastic-builder\src\queries\term-level-queries\term-query.js E:\Projects\repos\elastic-builder\src\queries\term-level-queries\regexp-query.js E:\Projects\repos\elastic-builder\src\queries\term-level-queries\range-query.js E:\Projects\repos\elastic-builder\src\queries\term-level-queries\prefix-query.js E:\Projects\repos\elastic-builder\src\queries\term-level-queries\ids-query.js E:\Projects\repos\elastic-builder\src\queries\term-level-queries\fuzzy-query.js E:\Projects\repos\elastic-builder\src\queries\term-level-queries\exists-query.js E:\Projects\repos\elastic-builder\src\queries\specialized-queries\script-query.js E:\Projects\repos\elastic-builder\src\queries\specialized-queries\percolate-query.js E:\Projects\repos\elastic-builder\src\queries\specialized-queries\more-like-this-query.js E:\Projects\repos\elastic-builder\src\queries\span-queries\span-within-query.js E:\Projects\repos\elastic-builder\src\queries\span-queries\span-term-query.js E:\Projects\repos\elastic-builder\src\queries\span-queries\span-or-query.js E:\Projects\repos\elastic-builder\src\queries\span-queries\span-not-query.js E:\Projects\repos\elastic-builder\src\queries\span-queries\span-near-query.js E:\Projects\repos\elastic-builder\src\queries\span-queries\span-multi-term-query.js E:\Projects\repos\elastic-builder\src\queries\span-queries\span-little-big-base.js E:\Projects\repos\elastic-builder\src\queries\span-queries\span-first-query.js E:\Projects\repos\elastic-builder\src\queries\span-queries\span-field-masing-query.js E:\Projects\repos\elastic-builder\src\queries\span-queries\span-containing-query.js E:\Projects\repos\elastic-builder\src\queries\match-none-query.js E:\Projects\repos\elastic-builder\src\queries\match-all-query.js E:\Projects\repos\elastic-builder\src\queries\joining-queries\parent-id-query.js E:\Projects\repos\elastic-builder\src\queries\joining-queries\nested-query.js E:\Projects\repos\elastic-builder\src\queries\joining-queries\joining-query-base.js E:\Projects\repos\elastic-builder\src\queries\joining-queries\has-parent-query.js E:\Projects\repos\elastic-builder\src\queries\joining-queries\has-child-query.js E:\Projects\repos\elastic-builder\src\queries\geo-queries\geo-shape-query.js E:\Projects\repos\elastic-builder\src\queries\geo-queries\geo-query-base.js E:\Projects\repos\elastic-builder\src\queries\geo-queries\geo-polygon-query.js E:\Projects\repos\elastic-builder\src\queries\geo-queries\geo-distance-query.js E:\Projects\repos\elastic-builder\src\queries\geo-queries\geo-bounding-box-query.js E:\Projects\repos\elastic-builder\src\queries\full-text-queries\simple-query-string-query.js E:\Projects\repos\elastic-builder\src\queries\full-text-queries\query-string-query.js E:\Projects\repos\elastic-builder\src\queries\full-text-queries\query-string-query-base.js E:\Projects\repos\elastic-builder\src\queries\full-text-queries\multi-match-query.js E:\Projects\repos\elastic-builder\src\queries\full-text-queries\mono-field-query-base.js E:\Projects\repos\elastic-builder\src\queries\full-text-queries\match-query.js E:\Projects\repos\elastic-builder\src\queries\full-text-queries\match-phrase-query.js E:\Projects\repos\elastic-builder\src\queries\full-text-queries\match-phrase-query-base.js E:\Projects\repos\elastic-builder\src\queries\full-text-queries\match-phrase-prefix-query.js E:\Projects\repos\elastic-builder\src\queries\full-text-queries\common-terms-query.js E:\Projects\repos\elastic-builder\src\queries\compound-queries\score-functions\script-score-function.js E:\Projects\repos\elastic-builder\src\queries\compound-queries\score-functions\score-function.js E:\Projects\repos\elastic-builder\src\queries\compound-queries\score-functions\random-score-function.js E:\Projects\repos\elastic-builder\src\queries\compound-queries\score-functions\field-value-factor-function.js E:\Projects\repos\elastic-builder\src\queries\compound-queries\score-functions\decay-score-function.js E:\Projects\repos\elastic-builder\src\queries\compound-queries\function-score-query.js E:\Projects\repos\elastic-builder\src\queries\compound-queries\dis-max-query.js E:\Projects\repos\elastic-builder\src\queries\compound-queries\constant-score-query.js E:\Projects\repos\elastic-builder\src\queries\compound-queries\boosting-query.js E:\Projects\repos\elastic-builder\src\queries\compound-queries\bool-query.js E:\Projects\repos\elastic-builder\src\index.js E:\Projects\repos\elastic-builder\src\core\util.js E:\Projects\repos\elastic-builder\src\core\sort.js E:\Projects\repos\elastic-builder\src\core\script.js E:\Projects\repos\elastic-builder\src\core\rescore.js E:\Projects\repos\elastic-builder\src\core\request-body-search.js E:\Projects\repos\elastic-builder\src\core\query.js E:\Projects\repos\elastic-builder\src\core\inner-hits.js E:\Projects\repos\elastic-builder\src\core\indexed-shape.js E:\Projects\repos\elastic-builder\src\core\highlight.js E:\Projects\repos\elastic-builder\src\core\geo-shape.js E:\Projects\repos\elastic-builder\src\core\geo-point.js E:\Projects\repos\elastic-builder\src\core\consts.js E:\Projects\repos\elastic-builder\src\core\aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\pipeline-aggregations\sum-bucket-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\pipeline-aggregations\stats-bucket-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\pipeline-aggregations\serial-differencing-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\pipeline-aggregations\pipeline-aggregation-base.js E:\Projects\repos\elastic-builder\src\aggregations\pipeline-aggregations\percentiles-bucket-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\pipeline-aggregations\moving-average-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\pipeline-aggregations\min-bucket-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\pipeline-aggregations\max-bucket-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\pipeline-aggregations\extended-stats-bucket-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\pipeline-aggregations\derivative-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\pipeline-aggregations\cumulative-sum-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\pipeline-aggregations\bucket-selector-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\pipeline-aggregations\bucket-script-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\pipeline-aggregations\avg-bucket-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\metrics-aggregations\value-count-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\metrics-aggregations\top-hits-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\metrics-aggregations\sum-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\metrics-aggregations\stats-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\metrics-aggregations\scripted-metric-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\metrics-aggregations\percentiles-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\metrics-aggregations\percentile-ranks-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\metrics-aggregations\min-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\metrics-aggregations\metrics-aggregation-base.js E:\Projects\repos\elastic-builder\src\aggregations\metrics-aggregations\max-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\metrics-aggregations\geo-centroid-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\metrics-aggregations\geo-bounds-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\metrics-aggregations\extended-stats-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\metrics-aggregations\cardinality-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\metrics-aggregations\avg-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\matrix-aggregations\matrix-stats-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\terms-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\terms-aggregation-base.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\significant-terms-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\sampler-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\reverse-nested-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\range-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\range-aggregation-base.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\nested-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\missing-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\ip-range-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\histogram-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\histogram-aggregation-base.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\global-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\geo-hash-grid-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\geo-distance-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\filters-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\filter-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\diversified-sampler-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\date-range-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\date-histogram-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\children-aggregation.js E:\Projects\repos\elastic-builder\src\aggregations\bucket-aggregations\bucket-aggregation-base.js
The command line is too long.

    at Promise.all.then.arr (E:\Projects\repos\elastic-builder\node_modules\execa\index.js:210:11)
    at process._tickCallback (internal/process/next_tick.js:103:7)
  code: 1,
  killed: false,
  stdout: '',
  stderr: 'The command line is too long.\r\n',
  failed: true,
  signal: null,
  cmd: 'E:\\Projects\\repos\\elastic-builder\\node_modules\\.bin\\eslint.CMD --fix -- E:\\Projects\\repos\\elastic-builder\\src\\queries\\term-level-queries\\wildcard-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\term-level-queries\\value-term-query-base.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\term-level-queries\\type-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\term-level-queries\\terms-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\term-level-queries\\term-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\term-level-queries\\regexp-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\term-level-queries\\range-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\term-level-queries\\prefix-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\term-level-queries\\ids-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\term-level-queries\\fuzzy-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\term-level-queries\\exists-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\specialized-queries\\script-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\specialized-queries\\percolate-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\specialized-queries\\more-like-this-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\span-queries\\span-within-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\span-queries\\span-term-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\span-queries\\span-or-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\span-queries\\span-not-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\span-queries\\span-near-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\span-queries\\span-multi-term-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\span-queries\\span-little-big-base.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\span-queries\\span-first-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\span-queries\\span-field-masing-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\span-queries\\span-containing-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\match-none-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\match-all-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\joining-queries\\parent-id-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\joining-queries\\nested-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\joining-queries\\joining-query-base.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\joining-queries\\has-parent-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\joining-queries\\has-child-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\geo-queries\\geo-shape-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\geo-queries\\geo-query-base.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\geo-queries\\geo-polygon-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\geo-queries\\geo-distance-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\geo-queries\\geo-bounding-box-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\full-text-queries\\simple-query-string-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\full-text-queries\\query-string-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\full-text-queries\\query-string-query-base.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\full-text-queries\\multi-match-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\full-text-queries\\mono-field-query-base.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\full-text-queries\\match-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\full-text-queries\\match-phrase-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\full-text-queries\\match-phrase-query-base.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\full-text-queries\\match-phrase-prefix-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\full-text-queries\\common-terms-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\compound-queries\\score-functions\\script-score-function.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\compound-queries\\score-functions\\score-function.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\compound-queries\\score-functions\\random-score-function.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\compound-queries\\score-functions\\field-value-factor-function.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\compound-queries\\score-functions\\decay-score-function.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\compound-queries\\function-score-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\compound-queries\\dis-max-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\compound-queries\\constant-score-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\compound-queries\\boosting-query.js E:\\Projects\\repos\\elastic-builder\\src\\queries\\compound-queries\\bool-query.js E:\\Projects\\repos\\elastic-builder\\src\\index.js E:\\Projects\\repos\\elastic-builder\\src\\core\\util.js E:\\Projects\\repos\\elastic-builder\\src\\core\\sort.js E:\\Projects\\repos\\elastic-builder\\src\\core\\script.js E:\\Projects\\repos\\elastic-builder\\src\\core\\rescore.js E:\\Projects\\repos\\elastic-builder\\src\\core\\request-body-search.js E:\\Projects\\repos\\elastic-builder\\src\\core\\query.js E:\\Projects\\repos\\elastic-builder\\src\\core\\inner-hits.js E:\\Projects\\repos\\elastic-builder\\src\\core\\indexed-shape.js E:\\Projects\\repos\\elastic-builder\\src\\core\\highlight.js E:\\Projects\\repos\\elastic-builder\\src\\core\\geo-shape.js E:\\Projects\\repos\\elastic-builder\\src\\core\\geo-point.js E:\\Projects\\repos\\elastic-builder\\src\\core\\consts.js E:\\Projects\\repos\\elastic-builder\\src\\core\\aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\pipeline-aggregations\\sum-bucket-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\pipeline-aggregations\\stats-bucket-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\pipeline-aggregations\\serial-differencing-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\pipeline-aggregations\\pipeline-aggregation-base.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\pipeline-aggregations\\percentiles-bucket-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\pipeline-aggregations\\moving-average-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\pipeline-aggregations\\min-bucket-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\pipeline-aggregations\\max-bucket-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\pipeline-aggregations\\extended-stats-bucket-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\pipeline-aggregations\\derivative-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\pipeline-aggregations\\cumulative-sum-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\pipeline-aggregations\\bucket-selector-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\pipeline-aggregations\\bucket-script-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\pipeline-aggregations\\avg-bucket-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\metrics-aggregations\\value-count-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\metrics-aggregations\\top-hits-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\metrics-aggregations\\sum-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\metrics-aggregations\\stats-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\metrics-aggregations\\scripted-metric-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\metrics-aggregations\\percentiles-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\metrics-aggregations\\percentile-ranks-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\metrics-aggregations\\min-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\metrics-aggregations\\metrics-aggregation-base.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\metrics-aggregations\\max-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\metrics-aggregations\\geo-centroid-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\metrics-aggregations\\geo-bounds-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\metrics-aggregations\\extended-stats-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\metrics-aggregations\\cardinality-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\metrics-aggregations\\avg-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\matrix-aggregations\\matrix-stats-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\terms-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\terms-aggregation-base.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\significant-terms-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\sampler-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\reverse-nested-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\range-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\range-aggregation-base.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\nested-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\missing-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\ip-range-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\histogram-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\histogram-aggregation-base.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\global-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\geo-hash-grid-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\geo-distance-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\filters-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\filter-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\diversified-sampler-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\date-range-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregation� eslint --fix found some errors. Please fix them and try committing again.
s\\bucket-aggregations\\date-histogram-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\children-aggregation.js E:\\Projects\\repos\\elastic-builder\\src\\aggregations\\bucket-aggregations\\bucket-aggregation-base.js',
The command line is too long.
  timedOut: false }

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:38 (8 by maintainers)

github_iconTop GitHub Comments

7reactions
iirojcommented, Nov 27, 2019

Thanks for the logs, @gaborluk! I think you hit a case where the chunks’ length was so close to the max arg length that when combined with your actual command, the resulting string was too long. I improved debug logging and halved the maxArgLength so that in your case it now creates four instead of two chunks. Let me know if it helps!

EDIT: This is in v10.0.0-beta.5

3reactions
okonetcommented, Nov 20, 2019

🎉 This issue has been resolved in version 10.0.0-beta.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command prompt line string limitation - Windows Client
The maximum length of the string that you can use at the command prompt is 8191 characters. This limitation applies to: ... If...
Read more >
PowerShell Error The command line is too long - Stack Overflow
Has anyone else tried using Powershell in Windows Terminal to run longer commands? I tried that earlier today for a command that was...
Read more >
"the command line is too long" exception on windows #597
An easy workaround is to add a client/$app/gvm/jar folder to the build files and copy the classpath jars here.
Read more >
"command line is too long" error message - YouTrack
First, "command line" is where you type and execute commands, not the command itself. I suggest renaming the option to Shorten command. Then,...
Read more >
"The command line is too long" error when starting a project in ...
CAUSE. This is caused by a Windows limitation where the cmd.exe that executes the java start command has a character limit of 8192...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found