There is certainly something weird going on here - as Turan mentioned, you really shouldn't be getting a syntax error on
Can you type
=> here, even if that script was incorrect. Maybe the nwjs version is lower that it should be for whatever reason?Can you type
process.versions in console, click the triangle next to the result to expand it, and screenshot that?