Sublime Forum

Can't install jslint? (error 2)

#1

Hey everyone,

I’m new to sublime text 2 and I would like to install jslint so I can write javascript without errors. But whenever I want to use jslint I receive an error. Btw the first line is in dutch and it means the system cannot find the given path. Oh yeah I installed using the package control on windwos 7 64 bit.

I downloaded Nodejs trough nodejs.org/ on my pc.

[Error 2] Het systeem kan het opgegeven bestand niet vinden
[cmd: [u’/usr/local/bin/node’, u’/usr/local/bin/jslint’, u’–sloppy’, u’–indent’, u’2’, u’–node’, u’–nomen’, u’–vars’, u’–plusplus’, u’–stupid’, u’E:\\xampp\\htdocs\\js\\mycode.js’]]
[dir: E:\xampp\htdocs\js]
[path: C:\Program Files (x86)\Java\jre7;C:\Users\Leon\AppData\Roaming\npm]
[Finished]

Can someone help me? Thanks

0 Likes

#2

well, its trying to run /usr/local/bin/node with /usr/local/bin/jslint, which are both *nix paths, and you seem to be running windows.

are you installing from the package manager? if not; try installing from there, im pretty sure i had jslint working before i switched to jshint.
otherwise I could provide you with some hints on how to change the paths.

0 Likes