jarek-foksa / xel

Xel - Widget toolkit for building native-like Electron and Web apps
https://xel-toolkit.org
Other
679 stars 58 forks source link

Unexpected token function #63

Closed Jaliborc closed 6 years ago

Jaliborc commented 6 years ago

On one of my Windows 10 machines, I'm getting the following error when trying to include the javascript file:

xel.min.js:15 Uncaught SyntaxError: Unexpected token function

I've tried using both the recommended node version 7.9 and the latest 9.4.

jarek-foksa commented 6 years ago

What version of Electron are you using? It looks like you have some older version that does not support async/await.

Jaliborc commented 6 years ago

Yes, that was it. My bad. Saw someone talking about older versions not supporting it and misunderstood they were talking about he Node version.

Working now that I updated Electron.