2
votes

I can't configure PhpStorm to work with NodeJs syntax, I've followed This guide but for some reason it's not working - as you can see in the picture

enter image description here

1
Please verify that each step was followed carefully, and restart your IDE, your computer. - Christopher J.

1 Answers

4
votes

Please check what JS version is chosen in Preferences/Settings | Languages&Frameworks | JavaScript.

Arrow functions are supported only since ECMAScript 6.