Closed nacho4d closed 9 years ago
At first it's .tern-project file.
It's hard to help you because I'm using this tern plugin inside Web Browser and Eclipse IDE and it works great.
Your trace is very hard to understand. Which ternjs version do you use?
tern version is "20150302.211" I got if from http://tromey.com/elpa/
Is there a way I can check tern-node-express is installed successfully?
(So I can narrow the search of the problem. I just started asking here because other completions of variables defined in the same file worked but when completions of an express object are supposed to appear I get that error.)
Sorry for the rant. I found the problem was the project filename.
It was .ternproject
but it should be .tern-project
. I renamed it and everything works as expected now :+1:
Thank you very much
Cool.
Hope this tern plugin will help you.
I am trying to setup a tern-node-express. I have set my .ternproject file:
However I get below error when tern is tries to complete an express variable. (I am using
(setq debug-on-error t)
).For example
This is the error I get:
I wonder what am I missing? I don't know where to start. Any help is appreciated
BTW autocompleting other non-express variable work fine