2017-04-03 4 views
0

grunt을 계속 실행하는 것은 나에게주고이 :"jshint : files"(jshint) 작업 실행 경고 : 경로는 문자열이어야합니다. 수신 널 사용 --force이

$ 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' 
    ], 

어떤 제안? null` :

+0

grunt-contrib-jshint 범프해야합니다. 빈 문자열 인'reporterOutput : ""'(여기 [https://github.com/jshint/jshint/issues/2922#issuecomment-219263558])에서 설정을 시도해 볼 수 있습니다. – RobC

답변