You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based off of a previous issue raised for the same thing... #523
Did anyone ever get to the bottom of this as to what the root cause was, I've hit this issue for the past couple of days on several ember projects and I've tried "npm cache clear" which has been mentioned with no success.
Uglifying source "dist/assets/app.min.js" failed.
Warning: Uglification failed.
Unexpected token name «Object», expected punc «,».
Line 129 in dist/assets/app.min.js"
I'm currently working with a fresh clone of EAK and I've managed to isolate the issue down to the uglification of the Ember templates. Delete all templates and then grunt dist command is successful...add them back in only using the application.hbs file with "{{outlet}}" as the only entry and the grunt task failed again. I've even tried just an empty version of "application.hbs" with the same result.
I'm in the situation where we are in the middle of sprint for our MVP with no option of trying out Ember CLI so we are stuck trying to overcome this issue.
Anyone got ideas going forwards as to what it may be or where I might be best to look?
Cheers
Michael
The text was updated successfully, but these errors were encountered:
I only logged this as a last resort due to the inactive nature of EAK.
For anyone that is interested it was down to peer dependencies within grunt-ember-templates. Here is the associated issue...dgeb/grunt-ember-templates#72
Based off of a previous issue raised for the same thing...
#523
Did anyone ever get to the bottom of this as to what the root cause was, I've hit this issue for the past couple of days on several ember projects and I've tried "npm cache clear" which has been mentioned with no success.
"Running "uglify:dist\assets\app.min.js" (uglify) task
{ message: 'Unexpected token name «Object», expected punc «,»',
line: 129,
col: 134,
pos: 3616 },
Uglifying source "dist/assets/app.min.js" failed.
Warning: Uglification failed.
Unexpected token name «Object», expected punc «,».
Line 129 in dist/assets/app.min.js"
I'm currently working with a fresh clone of EAK and I've managed to isolate the issue down to the uglification of the Ember templates. Delete all templates and then grunt dist command is successful...add them back in only using the application.hbs file with "{{outlet}}" as the only entry and the grunt task failed again. I've even tried just an empty version of "application.hbs" with the same result.
I'm in the situation where we are in the middle of sprint for our MVP with no option of trying out Ember CLI so we are stuck trying to overcome this issue.
Anyone got ideas going forwards as to what it may be or where I might be best to look?
Cheers
Michael
The text was updated successfully, but these errors were encountered: