我第一次尝试用Grunt来完成一些任务。在任何任务中,我都有以下错误:
Loading "Gruntfile.js" tasks...ERROR
>> SyntaxError: Unexpected identifier
Warning: Task "default" not found. Use --force to continue.
Aborted due to warnings.这是我的Gruntfile.js:http://pastebin.com/SqCEBw0N
这是我的package.json:http://pastebin.com/5SkxxM44
这是怎么回事?
发布于 2016-01-26 13:14:26
在线104或Gruntfile.js上缺少一个逗号。
您可以在没有文本编辑器的情况下使用Esprima在线检查JS的语法。
https://stackoverflow.com/questions/35014638
复制相似问题