SyntaxError when running typescript-language-server --stdio
dneial opened this issue · comments
dneial commented
i get a SyntaxError: Unexpected token '.' when running the server manually
Rafał Chłodnicki commented
What exactly are you doing. How have you installed it and what command are you using to start it. And what's the full error? Provide more details.
dneial commented
Sorry, I did a little bit of research and this was a node version problem. Node version should be at least 14 and I had v12
Rafał Chłodnicki commented
Note that for the latest version that was released few days ago you'll need node 18 at least.