jarek-foksa / xel

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

Syntax Error Loading HTML file #20

Closed Jaliborc closed 7 years ago

Jaliborc commented 7 years ago

Xel has been working great for me on one of my Windows 7 machines. Yet, I tried loading it on a different Windows 10 machine today. I get the following error when loading the html file:

xel.min.html:1 Uncaught SyntaxError: missing ) after argument list

I have tried installing different versions from npm (0.0.12 to 0.0.14). They all give this error. I am using xel on the same project with the same code on both machines, so I don't know where to go from here.

jarek-foksa commented 7 years ago

Version 0.0.13 was broken and available just for few hours. Please make sure that in your package.json you have "xel": "^0.0.14", then remove <your_project_dir>/node_modules/xel/ directory and run npm install.

If it does not solve the problem, let me know whether <your_project_dir>/node_modules/xel/xel.min.html file actually exist.

Also, are you sure you are using the latest stable version of Chrome (or Electron) on that machine?

Heziode commented 7 years ago

I had the same problem with electron version 1.6.2. After update to 1.6.6, problem is solved.

jarek-foksa commented 7 years ago

@Heziode Thanks for letting me know. @Jaliborc Please reopen this issue if you can still reproduce it.