Home Download Buy Blog Forum Support

Can't install jslint? (error 2)

Can't install jslint? (error 2)

Postby Lukk on Sun Sep 30, 2012 2:46 pm

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 http://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\]

Can someone help me? Thanks
Posts: 12
Joined: Sun Mar 18, 2012 1:41 pm

Re: Can't install jslint? (error 2)

Postby piksel on Wed Oct 03, 2012 7:44 am

well, its trying to run
Code: Select all
Code: Select all
, 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.
Posts: 8
Joined: Sat Aug 25, 2012 9:31 am

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 20 guests