sublimetext2 - SublimeLinter not detecting my Node.js installation (Debian) -


i'm running debian squeeze , i've installed node.js nvm.

i'm sourcing nvm.sh .bashrc , set version default:

source ~/.nvm/nvm.sh 

running node terminal works, sublimelinter doesn't seems detect it:

sublimelinter: javascript disabled (one of following javascript engines must installed: node.js, javascriptcore) 

i created symbolic link @ /opt/bin (which in path):

$ cd /opt/bin $ ln -s ~/.nvm/v0.10.3/bin/node 

still same issue.

what can do?

at command prompt, run which node, open preferences -> package settings -> sublimelinter -> settings - user , set following (assuming there no other contents):

{     "sublimelinter_executable_map":     {         "node": "/opt/bin/node" // put results of 'which node' here     } } 

also, remember need have gjslint set on system (if that's linter want) before work. jshint , jslint built-in, , set adjusting javascript_linter option.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -