I recently updated to atom 1.8.0 and installed atom-tern (my previous version did not have the term plugin installed because I was getting this exact issue). I had the plugin working fine until installing node-express plugin which caused the TypeError. However, removing the package did not fix it, but removing node from the plugins does.
I have the package working now, but I don't receive full auto-completion since I cannot use the node plugin.
Update:
Seems like the node plugin does not like to work with mixed ecma versions. That is, if you set the ecmaVersion in .tern-project to 6, tern crashes when trying to autocomplete in a file that uses ecma 5.
I recently updated to atom 1.8.0 and installed atom-tern (my previous version did not have the term plugin installed because I was getting this exact issue). I had the plugin working fine until installing
node-expressplugin which caused the TypeError. However, removing the package did not fix it, but removingnodefrom the plugins does.I have the package working now, but I don't receive full auto-completion since I cannot use the
nodeplugin.Update:
Seems like the
nodeplugin does not like to work with mixed ecma versions. That is, if you set theecmaVersionin .tern-project to 6, tern crashes when trying to autocomplete in a file that uses ecma 5.