SublimeLinter: [flow] [Version 4] not working at all

I’m getting this on the SL console, after it auto-updated to v4

SublimeLinter: WARNING: eslint cannot locate 'eslint'  
SublimeLinter: WARNING: flow cannot locate 'flow'  
SublimeLinter: ERROR: Linter crashed. 
Traceback (most recent call last):   
File "lint.backend in /Users/javiercastro/Library/Application Support/Sublime Text 3/Installed Packages/SublimeLinter.sublime-package", line 97, in execute_lint_task   
File "lint.linter in /Users/javiercastro/Library/Application Support/Sublime Text 3/Installed Packages/SublimeLinter.sublime-package", line 794, in lint   
File "lint.linter in /Users/javiercastro/Library/Application Support/Sublime Text 3/Installed Packages/SublimeLinter.sublime-package", line 505, in get_cmd 
TypeError: 'NoneType' object is not iterable

Nothing else was changed (aslant is still there on the same path as before, etc)

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 2
  • Comments: 37 (21 by maintainers)

Most upvoted comments

@trych Edit your SublimeLinter package settings, and set that in the User settings. This is what my settings look like, as an example:

{
    "debug": false,
    "delay": 0.25,
    "gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
    "lint_mode": "background",
    "linters": {
        "eslint": {
            "@disable": false,
            "args": [],
            "excludes": [],
            "selector": "source.js"
        },
        "jshint": {
            "@disable": false,
            "args": [],
            "excludes": []
        },
        "jsxhint": {
            "@disable": false,
            "args": [],
            "excludes": []
        }
    }
}

Please turn on ‘background’ mode in case the other modes are broken. Also did you try my selector suggestion? Otherwise, we still need the full output directly when starting Sublime with a js project open and js file directly getting active. 👍

When we’re closing we still are subscribed.

I am having the same issue as @trych

Ah, that’s good at least. flow definitely seems broken though.

Does not work at all for me, either.

Just freshly installed all eslint, SublimeLinter and SublimeLinter-eslint, created a .eslintrc.js. It just does not do anything at all, when I go Lint this view.

Any way I can retrieve some system stats to help out fix this?