Error parsing type '--no-color'
See original GitHub issueI’m not specifying any options, but I’m getting this error on esw
Node version: v5.10.1 eslint version: v2.9.0
Logs: (ran DEBUG=* esw
)
esw:eslint-cli Loaded +0ms
esw:eslint-cli EsLint path: /Users/ben/frontend/node_modules/.bin/eslint +3ms
esw:eslint-help Loaded +33ms
esw:options Loaded +18ms
esw:success-formatter loaded +226ms
esw:simple-detail loaded +2ms
esw:watcher Loaded +0ms
esw:arg-parser Loaded +0ms
esw:esw-cli Loaded +1ms
esw:esw-cli Eslint-Watch: 2.1.10 +0ms
esw:eslint-help Executing help +0ms
esw:eslint-cli eslint: [ '--help' ] +0ms
esw:eslint-help Help text received +254ms
esw:eslint-help noAlias +1ms false
esw:eslint-help Alias found: -c +0ms
esw:eslint-help Parsing --config +0ms
esw:eslint-help noAlias +1ms true
esw:eslint-help Parsing --no-eslintrc +0ms
esw:eslint-help Parsing no option +0ms --no-eslintrc
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --env +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --ext +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --global +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --parser +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --parser-options +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --cache +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --cache-file +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --cache-location +1ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --rulesdir +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --plugin +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --rule +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --ignore-path +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --no-ignore +0ms
esw:eslint-help Parsing no option +0ms --no-ignore
esw:eslint-help noAlias +1ms true
esw:eslint-help Parsing --ignore-pattern +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --stdin +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --stdin-filename +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --quiet +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --max-warnings +0ms
esw:eslint-help noAlias +0ms false
esw:eslint-help Alias found: -o +0ms
esw:eslint-help Parsing --output-file +0ms
esw:eslint-help noAlias +1ms false
esw:eslint-help Alias found: -f +0ms
esw:eslint-help Parsing --format +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --color +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --init +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --fix +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --debug +0ms
esw:eslint-help noAlias +0ms false
esw:eslint-help Alias found: -h +0ms
esw:eslint-help Parsing --help +0ms
esw:eslint-help noAlias +0ms false
esw:eslint-help Alias found: -v +0ms
esw:eslint-help Parsing --version +0ms
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --no-inline-config +0ms
esw:eslint-help Parsing no option +0ms --no-inline-config
esw:eslint-help noAlias +0ms true
esw:eslint-help Parsing --print-config +0ms
[Error: Option 'color': Error parsing type '--no-color': Unexpected character: - - Remaining tokens: ["-","-","no","-","color"] - Initial input: '--no-color']
Issue Analytics
- State:
- Created 7 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
Terraform cannot handle a CLI option on the command line ...
Options set in TF_CLI_ARGS do not prevent terraform from parsing command line options. $ TF_CLI_ARGS='-no-color' tf fmt -no-color ...
Read more >Error parsing Colors from String - android - Stack Overflow
parseColor()` error is thrown from your MadAdapter.java Class on line 60. ... Assuming: while parsing the color from string object "item" is ...
Read more >CLI Reference — SQLFluff 1.4.5 documentation
No color - output will be without ANSI color codes. ... For example –ignore parsing would mean that any parsing errors are ignored...
Read more >Command: plan | Terraform - HashiCorp Developer
The terraform plan command creates an execution plan with a preview of the changes that Terraform will make to your infrastructure.
Read more >Command Line Interface - ESLint - Pluggable JavaScript Linter
Without this option, ESLint reports fatal parsing errors as rule violations. Argument Type: No argument. --exit-on-fatal-error example. npx eslint --exit-on ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Cool, I am going to pull this in and publish 2.1.11
This issue most likely resides in the help parser. Formatting or spaces might have changed. It will be the first thing to break since it needs to run before anything else can occur.