tststs / atom-ternjs

JavaScript code intelligence for atom with tern.js and autocomplete-plus
MIT License
627 stars 76 forks source link

Rename variable -> TypeError: Cannot read property 'type' of undefined #360

Open MadLittleMods opened 5 years ago

MadLittleMods commented 5 years ago

When using the rename variable function, the following error occurs and the variable is not renamed

UncaughtException: TypeError: Cannot read property 'type' of undefined. Restarting Server...

Tried with latest atom-tern@0.19.1 and previous version atom-tern@0.18.5 on vanilla JavaScript in multiple projects. Atom 1.37.0 on Windows 10

Is there a way to get more debug information? That error doesn't show up in the Atom developer tools

ghost commented 5 years ago

I get that error everytime I type anything at all, the entire time and it's spamming the living heck out of me.

Don't know if this is the same cause here though, but it's awful.

jhack-jos commented 4 years ago

+1 I confirm I am also getting the same error all the time on atom 1.41.0