Skip to content

UncaughtException: TypeError: Cannot read property 'length' of null. Restarting Server... #28

Description

@andy9775

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions