I just upgraded yesterday emacs from version 25.2 to 27.0.5. Now I am encountering this problem, any idea of how to fix it?

Tern error

This happens in some tern functions I try to use: tern-get-docs, tern-ac-complete...

  • 2
    Please provide a full backtrace by using M-x toggle-debug-on-error, reproducing the problem and copy-pasting the full backtrace into your question.
    – wasamasa
    Sep 23, 2017 at 15:53
  • Ok, I followed your instruction, but I don't see more output. "I am checking the "Messages " buffer Sep 23, 2017 at 18:06
  • It should pop up a backtrace buffer when running into an error unless errors are suppressed. In that case you'll have to study tern's sources to figure out how and change that so that you'll get a backtrace again. Alternatively ask on the project's bug tracker.
    – wasamasa
    Sep 23, 2017 at 18:29
  • Facing the same issues here. I opened an issue in the ternjs github issues tracker. Looks like updating to emacs master broke ternjs :( Sep 24, 2017 at 14:10
  • 1
    Tern got updated in MELPA to fix this issue :) Sep 27, 2017 at 4:14

1 Answer 1


Ok, it is already solved by the tern's update in MELPA


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.