0
grunt
을 명령 줄에서 실행할 때 jshint 오류가 발생합니다.useminPrepare options 속성이 정의되지 않았습니다.
useminPrepare: {
html: '<%= yeoman.app %>/index.html',
options: {
dest: '<%= yeoman.dist %>'
}
},
을 그리고 yeoman.dist는 grunt.initConfig에 정의되어있다 : 내 gruntfile에서
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.
내가 가진
yeoman: {
// configurable paths
app: require('./bower.json').appPath || 'public',
dist: 'dist'
},
가 왜이 (가)의 특성 '옵션'을 읽을 수 없습니다 무엇입니까 정의되지 않은 오류?
감사합니다. 내게 같은 문제 :) – IgalSt