Grunt error on _main.js

I have installed roots 6.5.0 and grunt running on Windows, if I change a .less file it complies CSS fine.

But if I many any change to _main.js it throws an error, even if I just add a space to a comment

screenshot of error message: Screenshot by Lightshot

File “assets\js_main.js” changed.
Running “jshint:all” (jshint) task
Linting Gruntfile.js … ERROR
ES5 option is now set per default
Linting assets/js/_main.js … ERROR
ES5 option is now set per default
Warning: Task “jshint:all” failed. Use --force to continue.
Aborted due warnings.

Can anyone suggest what I am doing wrong

I’ve just sent a pull request with the fix.

2 Likes