1

WebStorm is highlighting my server setup file as having syntax errors that definitely aren't. This is a nodeJs file...

Is there something I can do to help WebStorm to understand better?

Here is a screen shot of what I'm seeing:

enter image description here

1 Answer 1

2

Check your JavaScript language version in Preferences -> Languages & Frameworks -> JavaScript. Be sure it's set to ECMAScript 6, since you are using ES2015 syntax.

enter image description here

Sign up to request clarification or add additional context in comments.

1 Comment

I thought it was something simple. Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.