Problems getting SublimeLinter to work

I need help to make SublimeLinter work.

I installed SublimeLinter using the package installer. However, I do not see how the villi work in my js files. Also, when I do command + shift + P (linux), I only see the following command for linter 'Sublime Linter: Extract Annotations'.

I do not see other commands to start linter.

Any ideas what is wrong?

Thank you Murtaza

+6
source share
2 answers

You need to install nodejs from the repositories.

If nodejs is not installed in /usr/local/bin/node , you need to set a symbolic link to this place:

  • touch / usr / local / bin / node
  • ln -s / usr / bin / nodejs / usr / local / bin / node

Above worked for me on debian / crunchbang

Alternatively, you can change the elevated user settings for linter (ps did not test this option)

 "sublimelinter_executable_map": { "javascript": "/usr/bin/nodejs" } 
+2
source

Some tips:

  • Make sure your files use Javascript syntax.
  • Linter starts automatically (check the package settings).
  • Open the console to see any errors.
  • Check out the documentation to set up Javascript linters
+1
source

All Articles