8 Apr 2013 1:03 AM #1
Trailing comma is not legal in ... /sass/example/render.js
Built workspace,theme,app, okay so far.
Developed the app for a day or two.
Now sencha app refresh produces the following.
What's the plan?
Strip the app back down again until I can refresh it?
Are there clues in here that mean something?
What's this sass/example/render.js stuff?
That file does not have line number 759
Sencha Cmd v188.8.131.526 [ERR] Failed to download remote catalog : Error downloading http://cdn.sencha.com/cmd/packages/catalog.json [INF] Including theme package hank3 for app.theme=hank3 build [INF] [INF] init-plugin: [INF] [INF] init-plugin: [INF] Invoking plugin (/home/steward/public_html/apps/foxw/Yap/.sencha/app/plugin.xml) - supported targets: -before-app-refresh [INF] [INF] -before-app-refresh: [INF] Invoking plugin (/home/steward/public_html/apps/foxw/Yap/.sencha/app/plugin.xml) - supported targets: app-refresh [INF] [INF] cmd-root-plugin.init-properties: [INF] [INF] init-properties: [INF] [INF] init-sencha-command: [INF] [INF] init: [INF] [INF] -before-app-refresh: [INF] [INF] app-refresh-impl: [INF] Including theme package hank3 for app.theme=hank3 build [INF] Loading classpath entry /home/steward/public_html/apps/foxw/ext/src [INF] Loading classpath entry /home/steward/public_html/apps/foxw/packages/ext-theme-base/overrides [INF] Loading classpath entry /home/steward/public_html/apps/foxw/packages/ext-theme-base/src [INF] Loading classpath entry /home/steward/public_html/apps/foxw/packages/ext-theme-neutral/overrides [INF] Loading classpath entry /home/steward/public_html/apps/foxw/packages/ext-theme-neutral/src [INF] Loading classpath entry /home/steward/public_html/apps/foxw/packages/ext-theme-classic/overrides [INF] Loading classpath entry /home/steward/public_html/apps/foxw/packages/ext-theme-classic/src [INF] Loading classpath entry /home/steward/public_html/apps/foxw/packages/hank3/overrides [INF] Loading classpath entry /home/steward/public_html/apps/foxw/packages/hank3/src [INF] Loading classpath entry /home/steward/public_html/apps/foxw [INF] Loading classpath entry /home/steward/public_html/apps/foxw/Yap/app [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer => ]);) -- /home/steward/public_html/apps/foxw/Yap/sass/example/render.js:759 [ERR] [ERR] BUILD FAILED [ERR] com.sencha.exceptions.ExParse: Failed parsing /home/steward/public_html/apps/foxw/build/Yap/production/all-classes.js [ERR] [ERR] Total time: 8 seconds [ERR] com.sencha.exceptions.ExParse: Failed parsing /home/steward/public_html/apps/foxw/build/Yap/production/all-classes.js
9 Apr 2013 3:42 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
I haven't seen it throw that error wrongly. You can try to add in the verbose flag to get more information.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
9 Apr 2013 9:40 PM #3
10 Apr 2013 5:02 AM #4I haven't seen it throw that error wrongly. You can try to add in the verbose flag to get more information.
What I hoped for was an error message that would lead me back to my source.
Initial attempts to "add in the verbose flag" are failing. Command line, Ant build step, config file...?
That is used to produce image slices for IE to support rounded corners and background gradients. If you load sass/example/theme.html in Chrome do you get any better error messages?
I have this in secha.cfg
#dsm 4 apr 13 skip.sass=true skip.slice=true skip.theme=true
But I will struggle with them for a few hours and see if I can piece together what you are suggesting.
Because otherwise the only recourse I can think of is to create a new project and add all the files in one by one, rebuilding after each.
I don't want to debug that way!
Ok I find the example . The error message doesn't help off the bat...
"generateSlicerManifest is not defined"
7 Jun 2013 1:13 AM #5
I got the same problem here
after I run Sencha Package Build, theme generated complete. Then on FireFox browser, I navigate to htt p://localhost/my-workspace/packages/my-theme/build/example/theme.html and got generateSlicerManifest is not defined on FireBug.Sorry for my bad English.
18 Mar 2014 1:59 AM #6
i get the same error!
any updates on this ?
3 Apr 2014 4:11 AM #7
I had the same error.