{"action":"opened","issue":{"url":"https://api.github.com/repos/yeoman/generator-chrome-extension/issues/163","repository_url":"https://api.github.com/repos/yeoman/generator-chrome-extension","labels_url":"https://api.github.com/repos/yeoman/generator-chrome-extension/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/yeoman/generator-chrome-extension/issues/163/comments","events_url":"https://api.github.com/repos/yeoman/generator-chrome-extension/issues/163/events","html_url":"https://github.com/yeoman/generator-chrome-extension/issues/163","id":154166538,"number":163,"title":"gulp build task does not work","user":{"login":"vertuxx","id":2898039,"avatar_url":"https://avatars.githubusercontent.com/u/2898039?v=3","gravatar_id":"","url":"https://api.github.com/users/vertuxx","html_url":"https://github.com/vertuxx","followers_url":"https://api.github.com/users/vertuxx/followers","following_url":"https://api.github.com/users/vertuxx/following{/other_user}","gists_url":"https://api.github.com/users/vertuxx/gists{/gist_id}","starred_url":"https://api.github.com/users/vertuxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vertuxx/subscriptions","organizations_url":"https://api.github.com/users/vertuxx/orgs","repos_url":"https://api.github.com/users/vertuxx/repos","events_url":"https://api.github.com/users/vertuxx/events{/privacy}","received_events_url":"https://api.github.com/users/vertuxx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-11T06:03:50Z","updated_at":"2016-05-11T06:03:50Z","closed_at":null,"body":"Hello\r\nI have been using a [yeoman/generator-chrome-extension](https://github.com/yeoman/generator-chrome-extension).\r\nWhen I run the build, clean-css related errors will occur.\r\nsourcemap of bootstrap.css seems to cause.\r\n\r\nhow do I resolve this problem?\r\nregards.\r\n\r\nhtml\r\n\r\n```\r\n<html>\r\n  <head>\r\n    <meta charset=\"utf-8\">\r\n    <!-- build:css styles/popup-vendor.css -->\r\n    <!-- bower:css -->\r\n    <link href=\"bower_components/bootstrap/dist/css/bootstrap.css\" rel=\"stylesheet\">\r\n    <!-- endbower -->\r\n    <!-- endbuild -->\r\n    <!-- build:css styles/main.css -->\r\n    <link href=\"styles/main.css\" rel=\"stylesheet\">\r\n    <!-- endbuild -->\r\n  </head>\r\n  <body>\r\n  .....\r\n```\r\n\r\ngulpfile.babel.js: line 52-61\r\n\r\n```\r\ngulp.task('html',  () => {\r\n  return gulp.src('app/*.html')\r\n    .pipe($.useref({searchPath: ['.tmp', 'app', '.']}))\r\n    .pipe($.sourcemaps.init())\r\n    .pipe($.if('*.js', $.uglify()))\r\n    .pipe($.if('*.css', $.cleanCss({compatibility: '*'}))) // <- this line \r\n    .pipe($.sourcemaps.write())\r\n    .pipe($.if('*.html', $.htmlmin({removeComments: true, collapseWhitespace: true})))\r\n    .pipe(gulp.dest('dist'));\r\n});\r\n```\r\n\r\ncommand \r\n\r\n```\r\n$ gulp build\r\n[13:47:48] Requiring external module babel-register\r\n(node:6899) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\n[13:47:49] Using gulpfile ~/works/jsworks/extension-example/gulpfile.babel.js\r\n[13:47:49] Starting 'build'...\r\n[13:47:49] Starting 'lint'...\r\n[13:47:49] Finished 'lint' after 254 ms\r\n[13:47:49] Starting 'chromeManifest'...\r\n[13:47:49] Finished 'chromeManifest' after 190 ms\r\n[13:47:49] Starting 'html'...\r\n[13:47:49] Starting 'images'...\r\n[13:47:49] Starting 'extras'...\r\nfs.js:634\r\n  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);\r\n                 ^\r\n\r\nError: ENOENT: no such file or directory, open '/Users/vertuxx/works/jsworks/extension-example/app/styles/bootstrap.css.map'\r\n    at Error (native)\r\n    at Object.fs.openSync (fs.js:634:18)\r\n    at Object.fs.readFileSync (fs.js:502:33)\r\n    at fromSource (/Users/vertuxx/works/jsworks/extension-example/node_modules/clean-css/lib/utils/input-source-map-tracker.js:84:30)\r\n    at InputSourceMapStore.track (/Users/vertuxx/works/jsworks/extension-example/node_modules/clean-css/lib/utils/input-source-map-tracker.js:237:5)\r\n    at Object.whenDone (/Users/vertuxx/works/jsworks/extension-example/node_modules/clean-css/lib/clean.js:145:44)\r\n    at processNext (/Users/vertuxx/works/jsworks/extension-example/node_modules/clean-css/lib/imports/inliner.js:105:13)\r\n    at importFrom (/Users/vertuxx/works/jsworks/extension-example/node_modules/clean-css/lib/imports/inliner.js:79:\r\n$ \r\n\r\n```\r\n"}}