generator-cg-angular
generator-cg-angular copied to clipboard
Jshint failing
On a fresh install on Centos 7, grunt build etc. failed with the following:
Running "jshint:main" (jshint) task
Warning: Path must be a string. Received null Use --force to continue.
Aborted due to warnings.
After a bit of searching I found a suggestion about it being the reporterOutput option, so modifying the Gruntfile.js to include:
jshint: {
main: {
options: {
jshintrc: '.jshintrc',
reporterOutput:""
},
src: createFolderGlobs('*.js')
}
},
seems to have got it working. [I'm new to angular/grunt etc. so feel free to close this issue if it is me doing something wrong!]