Hybrid View
-
21 Jan 2013 2:52 AM #1
Sencha Architect 2.1 bld 678. Unexpected token ILLEGAL
Sencha Architect 2.1 bld 678. Unexpected token ILLEGAL
Guys, trying to 'helloWorld', but... Getting this error in Chrome (or "SyntaxError: illegal character" in Firefox).
What can be wrong? I've just created the new project (for ext js 4.1), then just put the initial view panel. That's all. Saving the project and opening it via any browser - white page with console error mentioned.
-
21 Jan 2013 3:43 PM #2
Could you please provide an example or an archive of a sample project that illustrates the problem?
Aaron Conran
@aconran
Sencha Architect Development Team
-
21 Jan 2013 10:06 PM #3
Thanks for the reply, Aaron.
In case someone else will face this problem, here's the solution (though the cause is not so evident):
http://smotko.si/nginx-static-file-problem/
Briefly, the problem happens when using shared folders in virtualbox (vboxsf). In my case i use Ubuntu via virtualbox on Windows host. So the whole document root is shared between host and guest. Turning off sendfile directive in webservers solves the problem.
-
23 Jan 2013 12:57 PM #4
Interesting thanks; it sounds like it stopped sending the file half way through or something.
Aaron Conran
@aconran
Sencha Architect Development Team


Reply With Quote