简体   繁体   中英

Gruntfile.js tasks ERROR

I'm trying for the first time use Grunt for few tasks. In any task I have this error:

Loading "Gruntfile.js" tasks...ERROR
>> SyntaxError: Unexpected identifier
Warning: Task "default" not found. Use --force to continue.

Aborted due to warnings.

This is my Gruntfile.js : http://pastebin.com/SqCEBw0N

This is my package.json : http://pastebin.com/5SkxxM44

What is wrong with it?

You have a missing comma on line 104 or Gruntfile.js .

You can check syntax of JS without a text editor using Esprima online .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM