gruntjs - Warning: StringMap expected string key Use --force to continue
问题描述
grunt build
command failed with following results
Please help me....
NOTE:
ngAnnotate:dist reading
happened but after that writing
is not happening...
bower minification is working. controllers,services js files unable to ngAnnotate
None of controller have any ES6 features (no arrow funtion ==>, no Let,const keywords used to declare)
my package.json file has below modules
解决方案
我正在使用"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
我希望它有帮助!
推荐阅读
- haskell - Deriving type of foldr (!!)
- android - Kotlin - Call class method from object
- php - 加载更多未显示在移动视图上
- angular - 如何在 Angular 5 中向 ng-select 添加“全选”功能
- c# - Pkcs11Interop Cryptoki 应用程序(已注册为多个 HSM 的 HSM 客户端)是否会检测并向活动 HSM 发送请求
- java - 尝试执行生成的 jar 文件后找不到 StyleConverterImpl 类
- visual-studio-code - CJK 字符的计数/自动换行
- python - 以可访问的方式显示 python unittest 结果
- ipfs - 我们可以将不同的值引用到 ipfs 哈希吗?
- python - Python:一个奇怪的索引越界案例