{"action":"created","issue":{"url":"https://api.github.com/repos/yeoman/generator-webapp/issues/572","repository_url":"https://api.github.com/repos/yeoman/generator-webapp","labels_url":"https://api.github.com/repos/yeoman/generator-webapp/issues/572/labels{/name}","comments_url":"https://api.github.com/repos/yeoman/generator-webapp/issues/572/comments","events_url":"https://api.github.com/repos/yeoman/generator-webapp/issues/572/events","html_url":"https://github.com/yeoman/generator-webapp/issues/572","id":177925548,"number":572,"title":"Gulp html task got Unknown Word error","user":{"login":"redowy","id":12317830,"avatar_url":"https://avatars.githubusercontent.com/u/12317830?v=3","gravatar_id":"","url":"https://api.github.com/users/redowy","html_url":"https://github.com/redowy","followers_url":"https://api.github.com/users/redowy/followers","following_url":"https://api.github.com/users/redowy/following{/other_user}","gists_url":"https://api.github.com/users/redowy/gists{/gist_id}","starred_url":"https://api.github.com/users/redowy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redowy/subscriptions","organizations_url":"https://api.github.com/users/redowy/orgs","repos_url":"https://api.github.com/users/redowy/repos","events_url":"https://api.github.com/users/redowy/events{/privacy}","received_events_url":"https://api.github.com/users/redowy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-19T23:34:06Z","updated_at":"2016-10-02T15:46:48Z","closed_at":null,"body":"**I've execute gulp html inside of my new folder yeoman-webapp generated project** \r\n\r\noyt@oyt:~/yeoman/new$ gulp html\r\n[05:39:27] Requiring external module babel-register\r\n[05:39:32] Using gulpfile ~/yeoman/new/gulpfile.babel.js\r\n[05:39:32] Starting 'styles'...\r\n[05:39:33] Starting 'scripts'...\r\n[05:39:39] Finished 'styles' after 7.16 s\r\n[05:39:40] Finished 'scripts' after 6.64 s\r\n[05:39:40] Starting 'html'...\r\n\r\n**Then an error was appeared**\r\n\r\nevents.js:160\r\n      throw er; // Unhandled 'error' event\r\n      ^\r\nError: /home/oyt/yeoman/new/index.html:1:1: Unknown word> 1 | <!DOCTYPE html>\r\n    | ^\r\n  2 | <!--[if lt IE 7]>      <html class=\"no-js lt-ie9 lt-ie8 lt-ie7\"> <![endif]-->\r\n  3 | <!--[if IE 7]>         <html class=\"no-js lt-ie9 lt-ie8\"> <![endif]-->\r\n\r\nI have checked anything related with it, fundamentally from gulp.task function inside of the gulpfile.babel.js  but i don't understand yet. **I have no change with my gulp html function task... (still default)**\r\n\r\ngulp.task('html', ['styles', 'scripts'], () => {\r\n  return gulp.src('app/*.html')\r\n    .pipe($.useref({searchPath: ['.tmp', 'app', '.']}))\r\n    .pipe($.if('*.css', $.cssnano()))\r\n    .pipe($.if('*.html', $.htmlmin({collapseWhitespace: true})))\r\n    .pipe(gulp.dest('dist'));\r\n});\r\n\r\nBeside of that, I have also checked the html file format and i think it's Okay (no error) with a sublime linter."},"comment":{"url":"https://api.github.com/repos/yeoman/generator-webapp/issues/comments/250977845","html_url":"https://github.com/yeoman/generator-webapp/issues/572#issuecomment-250977845","issue_url":"https://api.github.com/repos/yeoman/generator-webapp/issues/572","id":250977845,"user":{"login":"silvenon","id":471278,"avatar_url":"https://avatars.githubusercontent.com/u/471278?v=3","gravatar_id":"","url":"https://api.github.com/users/silvenon","html_url":"https://github.com/silvenon","followers_url":"https://api.github.com/users/silvenon/followers","following_url":"https://api.github.com/users/silvenon/following{/other_user}","gists_url":"https://api.github.com/users/silvenon/gists{/gist_id}","starred_url":"https://api.github.com/users/silvenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvenon/subscriptions","organizations_url":"https://api.github.com/users/silvenon/orgs","repos_url":"https://api.github.com/users/silvenon/repos","events_url":"https://api.github.com/users/silvenon/events{/privacy}","received_events_url":"https://api.github.com/users/silvenon/received_events","type":"User","site_admin":false},"created_at":"2016-10-02T15:46:48Z","updated_at":"2016-10-02T15:46:48Z","body":"I'm curious about those conditional comments for IE7, as we don't have those. What did you change exactly and which version of generator did you scaffold your project with?"}}
{"actor":{"display_login":"silvenon"}}