I'm getting a jshint error when I run grunt
from the command line.
Running "useminPrepare:html" (useminPrepare) task
Going through public/index.html to update the config
Looking for build script HTML comment blocks
Warning: An error occurred while processing a template (Cannot read property 'options' of undefined). Use --force to continue.
Aborted due to warnings.
In my gruntfile I have:
useminPrepare: {
html: '<%= yeoman.app %>/index.html',
options: {
dest: '<%= yeoman.dist %>'
}
},
And yeoman.dist is defined in grunt.initConfig:
yeoman: {
// configurable paths
app: require('./bower.json').appPath || 'public',
dist: 'dist'
},
Why am I getting the Cannot read property 'options' of undefined error?