正在运行grunt
给我这个:
$ grunt
Running "jshint:files" (jshint) task
Warning: Path must be a string. Received null Use --force to continue.
Aborted due to warnings.
如果它有帮助我
jshint: {
files: [
'Gruntfile.js',
'<%= paths.src %>/js/globals.js',
'<%= paths.dist %>/js/**/*.js',
'<%= paths.src %>/test/**/*Spec.js'
],
有什么建议吗?
答案 0 :(得分:1)
https://github.com/globalizejs/globalize/issues/666
您可能只需将grunt-contrib-jshint
提升为0.11.1
或更高版本:)