I have searched extensively and tried appying various solutions but over 12 hours spent spanning 3 days and I can't seem to get eslint working for sublime. I have been on Stackoverflow for over a year now and seldom ask questions because most of the time I find an answer I can use or adapt, but this has me down.
Eslint runs well in the terminal, both in iTerm and standard terminal that comes with Macs. (I use zsh)
When I type "which eslint" in the terminal I also get the path:
/usr/local/bin/eslint
I followed the instructions on the Sublimelinter github page, including the troubleshooting, where I enabled debug mode, opened the sublime console, and loaded a js file.
When I restart Sublime I get the following message:
SublimeLinter: eslint linter loaded
plugins loaded
SublimeLinter: debug mode: on
SublimeLinter: temp directory: /var/folders/n7/qtc_6wdj03j98fg8ffvdjzwm0000gn/T/SublimeLinter3-Nick
Package Control: Skipping automatic upgrade, last run at 2016-07-31 21:43:39, next run at 2016-07-31 22:43:39 or after
I get no error messages, or any messages, when I open any file, even a small example file with errors.
Am I missing something basic? Does it have to do with a path that I am not setting properly? (The latter would be my bet, but I have no idea where to start).
eslint -v:
v3.2.0
npm -v:
3.10.3
Thanks in advance!
Related
I'm trying to setup coc for nvim on my Windows os. I installed coc via vim-plug and have the coc.nvim config sourced in my main init.vim file. I recieve these messages when I open neovim and run :checkhealth
coc: health#coc#check 3 ======================================================================== 4 - OK: nvim version satisfied 5 - ERROR: Unable to detect version of node, make sure your node executable is http://nodejs.org/ 6 - ERROR: Javascript entry not found, please compile coc.nvim by esbuild. 7 - ERROR: service could not be initialized 8 - ADVICE: 9 - Use command ":messages" to get error messages. 10 - Open a issue at https://github.com/neoclide/coc.nvim/issues for feedback. 11
I have tried reinstalling node, going to coc.nvim directory and using npm install as well as yarn install (as directed to when I ran :messages after getting errors with :checkhealth). However when I ran yarn build (also directed to when I ran :messages) it said build was not a command of yarn. I’ve searched through other questions and github issues which have been solved by doing the above but none of it has worked here.
I've been getting the following error from the source control plugin on VSCode "Extension host terminated unexpectedly".
If I check the logs I see the following info: "EMFILE too many open files."
I've already tried a few things like:
Remove and install VSCode again.
Increase the number of opened files on Ubuntu.
Install Watchmen
Unfortunately, none of this solved the problem... Any suggestions?
I recently got vim and have been trying to install some plugins. I installed vim as a plugin manager. I entered some plugins in the _vimrc file just like you are supposed to.
Example: Plugin 'scroolose/nerdtree'
But, when I did :PluginInstall I got a popup saying "vimrun.exe not found in your $PATH". I found the vimrun.exe file and it was not in the right place so I moved it to the vimfiles folder and then the bundle folder and then the Vundle.vim folder I always got the same popup.
After getting the popup message the plugins never install properly. I always get a bunch of errors as vim tries to process the plugins and then at the end it says "done!". When I try using the plugins it never works and it seems like the plugins never got installed.
If you could also help me with my vim syntax problem, that would be great.(only if you wish to)>
I seem to have to run RopeGenerateAutoimportCache every time I open my python project in vim before RopeAutoImport will work. If I run RopeAutoImport before caching the projects modules I get the following error:
Global name my_func not found!
Is there a way of either generating the cache on each vim startup, or preferably, saving the cache to be reread on startup?
I went back to python-mode (which is the suggested plugin for python) and found a problem in the code for which, at the time writing this, I have a patch to be merged: github.com/klen/python-mode/pull/488
I am no longer seeing this problem with the patched code.
Regarding plugin for Coda 2. I am having some problems making it work. I have written a small test program in CoffeeScript, but when i try to run and/or compile I get the following error message:
All settings/env. variables should be set correctly:
Do you have any idea as to what that may cause this issue? I have installed node using homebrew, and then coffee script via npm. All the shell variables have been verified, and I am able to run node from the command line and write scripts there. Also, when i go to settings and click on "About", I get the following:
Hope you can help.
Thank you and best regards,
Thomas
In Terminal, run the command:
which coffee
For me, this gave:
/usr/local/bin/coffee
So in the CoffeeScript Plug-In Settings, I set PATH to:
/usr/local/bin
Then when I went to the About box, it showed the version of CoffeeScript that I have installed and the Run & Compile options then worked fine.