Skip to content
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

eslint_d throws Error: Invalid option '--color' when '--color' is not even used #10

Open
CxRes opened this issue Mar 8, 2016 · 8 comments

Comments

@CxRes
Copy link

CxRes commented Mar 8, 2016

I am getting the following error message:

SublimeLinter: chdir not set or invalid, using D:\Users\X\dev\syn3\src 
SublimeLinter: eslint_d: config.js ['C:\\Program Files\\npm\\eslint_d.cmd', '--format', 'compact', '--stdin', '--stdin-filename', '__RELATIVE_TO_FOLDER__', '--config', 'D:\\Users\\X\\dev\\syn3\\.eslintrc'] 
SublimeLinter: eslint_d output:
Error: Invalid option '--color' - perhaps you meant '--ignore'? 

I do not understand the cause as --color is not even used
on Node v5.5, Windows 10 x64, eslint_d 3.1.0

@matanh-tzmedical
Copy link

+1

@roadhump
Copy link
Owner

Can you run eslint_d in console and check if it is an issue of eslint_d itself?

@matanh-tzmedical
Copy link

This seems to have fixed itself on my system somehow. Not sure what caused it. Can anyone else confirm?

@roadhump
Copy link
Owner

I suppose it was a bug of eslint_d itself and it was fixed with new version.

@jefe-spain
Copy link

I've got the same problem, I'm using the latest version of the plugin and the latest version of SublimeLinter, but still got the same error and I don't know why:

`SublimeLinter: eslint_d: gutter.js ['/Users/jfernandez/.npm-packages/bin/eslint_d', '--format', 'compact', '--stdin', '--stdin-filename', 'RELATIVE_TO_FOLDER', '--config', '/Users/jfernandez/projects/gutter-skins/.eslintrc']
SublimeLinter: eslint_d output:
Error: Invalid option '--color' - perhaps you meant '--ignore'?``

eslint_d runs correctly in console.

Node 5.6.0, eslint_d 3.1.0, OSX.

Thanks!

@roadhump
Copy link
Owner

Can't reproduce. Probably you should update your local eslint installation too?

@jefe-spain
Copy link

It's the eslint_d version, works under v2.20 , not v3.1.0

@xedef
Copy link

xedef commented Jun 2, 2016

+1
Tried with Node 5.9.1 and 0.12.7
Tried with eslint_d 3.1.0, 2.5.1, 2.4.0 and 2.2.0.
Removed and reinstalled all SublimeLinter and SublimeLinter-contrib-eslint_d packages.
Still happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants