question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tern does not work

See original GitHub issue

I did make js as described in README, and added node path to my vimrc:

let g:completor_node_binary = ‘/usr/local/bin/node’

➜  cd /Users/apple/.vim/plugged/completor.vim/pythonx/completers/javascript && ls
__init__.py     __init__.pyc    node_modules    package.json    tern_wrapper.js
➜  javascript git:(master) node tern_wrapper.js
^C
(no errors here)
➜  javascript git:(master) cat ~/.tern-project
{
  "ecmaVersion": 6,
  "libs": [
    "browser"
  ],
  "loadEagerly": [
  ],
  "dontLoad": [
  ],
  "plugins": {
    "es_modules": {},
    "node": {},
    "doc_comment": {
      "fullDocs": true,
      "strong": true
    }
  }
}
➜  javascript git:(master) pwd
/Users/apple/.vim/plugged/completor.vim/pythonx/completers/javascript
➜  javascript git:(master) which node
/usr/local/bin/node
➜  javascript git:(master)

trying

var name = {
  a: 1, b: 2
}


name.| (does not work here)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
marallacommented, Sep 19, 2017

The commit 94033efe504cc85efbedb8e5f32c5b86b827323e will fix the problem.

0reactions
scwoodcommented, Sep 15, 2017

So tern with YCM works with javascript.jsx. Is this a tern problem or a completer problem? The popular pangloss javascript package sets the javascript.jsx file type, do we add a fix for that here? happy to help with a pr

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tern installation doesn't seem to work as described #22 - GitHub
It's a standalone binary. Try running go get -u github.com/jackc/tern outside of your project and it should be installed to $GOPATH/bin . Your ......
Read more >
Known Issues & Problems with Tern Products + Help ...
No ebike is perfect, this is a thread dedicated to sharing known issues or problems with electric bikes from Tern as well as...
Read more >
Tern's Service Starts & Ends with Your Dealer—Here's Why
My original Tern dealer is no longer available—they've shut down their shop or stopped working with Tern. Who will service my bike now?...
Read more >
How to Turn On or Troubleshoot Tern eBike Headlights
Is the headlight on your Tern electric bike not turning on? Here are my top 3 things I check on a Tern bike...
Read more >
Turn On or Troubleshoot Tern eBike Headlights - YouTube
Is the headlight on your Tern electric bike not turning on? ... Whether or not the video itself was sponsored by Tern Bicycles,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found