olov / ng-annotate

Add, remove and rebuild AngularJS dependency injection annotations
MIT License
2.03k stars 150 forks source link

Running “ngAnnotate:app” (ngAnnotate) task , error: couldn't process source due to parse error #267

Closed tikemantns closed 3 years ago

tikemantns commented 4 years ago

Trying to build angular application cmd: grunt build:prod

Running "ngAnnotate:app" (ngAnnotate) task Generating ".tmp/concat/scripts/plugins.js" from: ".tmp/concat/scripts/plugins.js"...ERROR

error: couldn't process source due to parse error Unexpected token (1275:6) Warning: Task "ngAnnotate:app" failed. Use --force to continue.

Aborted due to warnings.

olov commented 3 years ago

https://github.com/olov/ng-annotate/issues/253