grunt build
命令失败,并显示以下结果
请帮助我。...
注意:
ngAnnotate:dist reading
发生了,但是之后writing
没有发生...
凉亭缩小工作。控制器,服务js文件无法 ngAnnotate
没有任何控制器具有任何ES6功能(没有箭头功能==>,没有用于声明的Let,const关键字)
我的package.json文件具有以下模块
答案 0 :(得分:0)
我正在使用"grunt-ng-annotate": "1.0.1"
并遇到相同的错误。我尝试升级,但是没有用。
由于我需要快速修复,因此我不得不降级为0.10.0
,现在一切正常。
npm uninstall grunt-ng-annotate --save-dev
npm install grunt-ng-annotate@0.10.0 --save-dev
希望对您有帮助!