-
Notifications
You must be signed in to change notification settings - Fork 17
Uncaught TypeError: undefined is not a function #7
Comments
Hi @batjko, i guess this behaviour is issued by the wrong "slash" between your java-path and the javac-command. Unfortunately this behaviour is part of the main-module. But good news: a fix (steelbrain/linter@936d7a5) is on the way and will help you (hopefully) after the next main-patch. |
Thanks, @florianb. Looking forward to that then. |
@batjko Could give a fuller copy of your linter.coffee file for analysis? I just downloaded the Javac Linter and it works fine for me, so I suspect there's an issue with the modifications you made to your linter.coffee file. |
I see the problem. You need to leave the
Alternatively, simply replace the entire
The problem is that right now, Process only exists if the linter is a node executable (as defined by |
The lack of error highlighting is due to a bad regex pattern. See the pull request #8 for a fix. |
add additional descriptions to config settings, fix #65
Ok, so I just made Linter work on Windows, using the fix provided by @Glek on issue #112.
And it works great for jshint for example.
But now I am opening a java file and immediately get this error in the Dev Console:

Note, all linters seem to be activated ok, but when javac tries to get to work on the current file it gives me this TypeError.
The path to javac is definitely confirmed:

The text was updated successfully, but these errors were encountered: