73rhodes / Sublime-JSLint

JSLint for Sublime Text 2 and 3.
80 stars 14 forks source link

UTF-8 error on Windows #17

Closed thelinuxlich closed 10 years ago

thelinuxlich commented 11 years ago

When I save a file, Sublime shows the console with the following output:

[Decode error - output not utf-8] [cmd: [u'node', u'C:\Users\Alisson\AppData\Roaming\Sublime Text 2\Packages/JSLint/linter.js', u'--sloppy', u'--indent', u'2', u'--node', u'--nomen', u'--vars', u'--plusplus', u'--stupid', u'--todo', u'C:\Users\Alisson\AppData\Local\Temp\fz3temp-1\pg-default-create.js']] [dir: C:\Users\Alisson\AppData\Local\Temp\fz3temp-1] [path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn] [Finished]

The encoding of the file is already UTF-8, so I don´t get it why this error has been thrown.

oskar-j commented 10 years ago

+1

I just installed JSLint, and same error showed up after Ctrl+S

How to use your Linter properly ?

jsCONFIG commented 10 years ago

me too!

darrenderidder commented 10 years ago

Set the command to the full path of node on your system.

On Fri, Sep 13, 2013 at 5:38 AM, jsCONFIG notifications@github.com wrote:

me too!

— Reply to this email directly or view it on GitHubhttps://github.com/darrenderidder/Sublime-JSLint/issues/17#issuecomment-24383559 .

jsCONFIG commented 10 years ago

well, i just don't know how to set it!

darrenderidder commented 10 years ago

Advanced settings.

jsCONFIG commented 10 years ago

it is show nothing on the bottom window when i press "ctrl+j"

darrenderidder commented 10 years ago

See README.md, prerequisites.