gpt4 book ai didi

gruntjs - 警告 : StringMap expected string key Use --force to continue

转载 作者:行者123 更新时间:2023-12-04 17:42:25 24 4
gpt4 key购买 nike

grunt build 命令失败,结果如下

请帮帮我....
注意:ngAnnotate:dist reading 发生了,但在那之后 writing 没有发生......
凉亭缩小工作。 Controller 、服务 js 文件无法ngAnnotate

controller 没有任何 ES6 特性(没有箭头函数 ==>,没有用于声明的 Let,const 关键字)

我的 package.json 文件包含以下模块

enter image description here

enter image description here StringMap expected string key Use --force to continue.

最佳答案

我在使用 "grunt-ng-annotate": "1.0.1" 时遇到了同样的错误。我尝试升级但没有成功。

由于我需要快速修复,我不得不降级到 0.10.0,现在它工作正常。

  1. 我删除了当前版本:npm uninstall grunt-ng-annotate --save-dev
  2. 并安装旧的:npm install grunt-ng-annotate@0.10.0 --save-dev

希望对您有所帮助!

关于gruntjs - 警告 : StringMap expected string key Use --force to continue,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53850838/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com