我之前运行良好的Grunt任务有问题。我不确定为什么现在这样。这是错误:
Running "ngAnnotate:dist" (ngAnnotate) task
Generating ".tmp/concat/scripts/scripts.js" from: ".tmp/concat/scripts/scripts.js"...ERROR
>> error: couldn't process source due to parse error
>> Assigning to rvalue (8818:4)
Warning: Task "ngAnnotate:dist" failed. Use --force to continue.
Error: Task "ngAnnotate:dist" failed.
at Task.<anonymous> (/home/hakan/webCondecca/node_modules/grunt/lib/util/task.js:205:15)
at Task.runTaskFn (/home/hakan/webCondecca/node_modules/grunt/lib/util/task.js:254:9)
at Task.<anonymous> (/home/hakan/webCondecca/node_modules/grunt/lib/util/task.js:300:12)
at /home/hakan/webCondecca/node_modules/grunt/lib/util/task.js:227:11
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
Aborted due to warnings.
我对Grunt不太熟悉,这是我实际使用过的第一个项目。我很乐意得到一些帮助。谢谢!