Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running grunt fails to build dist/angularytics.js #21

Open
paolodm opened this issue Feb 20, 2014 · 0 comments
Open

Running grunt fails to build dist/angularytics.js #21

paolodm opened this issue Feb 20, 2014 · 0 comments

Comments

@paolodm
Copy link

paolodm commented Feb 20, 2014

Upon running grunt, I get the following build failure:

Running "uglify:dist" (uglify) task
{ message: 'Unexpected token name «Object», expected punc «,»',
  line: 1,
  col: 8,
  pos: 8,
  stack: 'Error\n    at new JS_Parse_Error (/Users/paolo.delmundo/tmp/angularytics/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:196:18)\n    at js_error (/Users/paolo.delmundo/tmp/angularytics/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:204:11)\n    at croak (/Users/paolo.delmundo/tmp/angularytics/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:663:9)\n    at token_error (/Users/paolo.delmundo/tmp/angularytics/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:671:9)\n    at expect_token (/Users/paolo.delmundo/tmp/angularytics/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:684:9)\n    at expect (/Users/paolo.delmundo/tmp/angularytics/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:687:36)\n    at expr_list (/Users/paolo.delmundo/tmp/angularytics/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:1179:44)\n    at /Users/paolo.delmundo/tmp/angularytics/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:1194:23\n    at /Users/paolo.delmundo/tmp/angularytics/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:710:24\n    at expr_atom (/Users/paolo.delmundo/tmp/angularytics/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:1157:35)' }
>> Uglifying source "dist/angularytics.js" failed.

The dist/angularytics.js looks like this:

[Object object]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant