Tern does not work
See original GitHub issueI 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:
- Created 6 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The commit 94033efe504cc85efbedb8e5f32c5b86b827323e will fix the problem.
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