ternjs / tern_for_sublime

Sublime Text package adding Tern support
MIT License
803 stars 54 forks source link

TypeError: String required #129

Open SEAPUNK opened 7 years ago

SEAPUNK commented 7 years ago

The plugin doesn't seem to be doing anything, except logging this error to the console. Error logs in console when I right click.

Writing code in (mostly) ES6.

marijnh commented 7 years ago

Did you set any tern-related preferences in Sublime? Could it be that you made a type error in those?

SEAPUNK commented 7 years ago

No, I don't think so. It was a first-time install.

marijnh commented 7 years ago

Strange. I haven't seen this error before, and it's a shame that there's no backtrace or any kind of context in the output. Does it happen on all edited code?

SEAPUNK commented 7 years ago

It happens in the entire project folder. I might give it another try on some separate ES5/ES6 files, and see what it does. Will take a little while, considering I'm a bit busy, and I have uninstalled the plugin for now.

SEAPUNK commented 7 years ago

Same issue, both in a pure ES6 and a pure ES5 project folder.

SEAPUNK commented 7 years ago

One thing to note is that it doesn't give me one "TypeError" per right click -- it usually gives around 4 or 5.