Unexpected identifier on templates
ain opened this issue · 1 comments
ain commented
I set up the latest master on the project I'm working on, got the following error:
/Users/ain/projects/.../Gruntfile.js:326
templates: ['src/templates/pages/*/**.hbs']
^^^^^^^^^
Loading "Gruntfile.js" tasks...ERROR
>> SyntaxError: Unexpected identifier
Warning: Task "build" not found. Use --force to continue.
Error: Task "build" not found.
at Task.run (/Users/ain/projects/.../node_modules/grunt/lib/util/task.js:171:28)
at /Users/ain/projects/.../node_modules/grunt/lib/grunt.js:154:39
at Array.forEach (native)
at Object.grunt.tasks (/Users/ain/projects/.../node_modules/grunt/lib/grunt.js:154:9)
at Object.module.exports [as cli] (/Users/ain/projects/.../node_modules/grunt/lib/grunt/cli.js:38:9)
at Object.<anonymous> (/opt/local/lib/node_modules/grunt-cli/bin/grunt:45:20)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
Aborted due to warnings.
JIT Grunt issue?
ain commented
Formatting error. Missing comma in the task attributes.