{"action":"created","issue":{"url":"https://api.github.com/repos/ebryn/ember-component-css/issues/178","repository_url":"https://api.github.com/repos/ebryn/ember-component-css","labels_url":"https://api.github.com/repos/ebryn/ember-component-css/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/ebryn/ember-component-css/issues/178/comments","events_url":"https://api.github.com/repos/ebryn/ember-component-css/issues/178/events","html_url":"https://github.com/ebryn/ember-component-css/issues/178","id":185316873,"number":178,"title":"Doesn't work with ember-cli@2.9.1","user":{"login":"buschtoens","id":834636,"avatar_url":"https://avatars.githubusercontent.com/u/834636?v=3","gravatar_id":"","url":"https://api.github.com/users/buschtoens","html_url":"https://github.com/buschtoens","followers_url":"https://api.github.com/users/buschtoens/followers","following_url":"https://api.github.com/users/buschtoens/following{/other_user}","gists_url":"https://api.github.com/users/buschtoens/gists{/gist_id}","starred_url":"https://api.github.com/users/buschtoens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buschtoens/subscriptions","organizations_url":"https://api.github.com/users/buschtoens/orgs","repos_url":"https://api.github.com/users/buschtoens/repos","events_url":"https://api.github.com/users/buschtoens/events{/privacy}","received_events_url":"https://api.github.com/users/buschtoens/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-26T07:30:34Z","updated_at":"2016-10-27T03:47:28Z","closed_at":"2016-10-26T21:12:09Z","body":"I am using the `0.2.0-beta.4` version. It seems that the `pod-styles.css` is not generated."},"comment":{"url":"https://api.github.com/repos/ebryn/ember-component-css/issues/comments/256539629","html_url":"https://github.com/ebryn/ember-component-css/issues/178#issuecomment-256539629","issue_url":"https://api.github.com/repos/ebryn/ember-component-css/issues/178","id":256539629,"user":{"login":"buschtoens","id":834636,"avatar_url":"https://avatars.githubusercontent.com/u/834636?v=3","gravatar_id":"","url":"https://api.github.com/users/buschtoens","html_url":"https://github.com/buschtoens","followers_url":"https://api.github.com/users/buschtoens/followers","following_url":"https://api.github.com/users/buschtoens/following{/other_user}","gists_url":"https://api.github.com/users/buschtoens/gists{/gist_id}","starred_url":"https://api.github.com/users/buschtoens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buschtoens/subscriptions","organizations_url":"https://api.github.com/users/buschtoens/orgs","repos_url":"https://api.github.com/users/buschtoens/repos","events_url":"https://api.github.com/users/buschtoens/events{/privacy}","received_events_url":"https://api.github.com/users/buschtoens/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T03:47:27Z","updated_at":"2016-10-27T03:47:27Z","body":"We're using [`ember-cli-postcss`](https://github.com/jeffjewiss/ember-cli-postcss) and the relevant section of our `ember-cli-build.js` looks like this:\r\n\r\n```js\r\npostcssOptions: {\r\n  compile: {\r\n    enabled: true,\r\n    plugins: [\r\n      { module:  require('postcss-easy-import') },\r\n      { module:  require('postcss-nested-ancestors') },\r\n      { module:  require('postcss-nested') },\r\n      {\r\n        module:  require('postcss-simple-vars'),\r\n        options: { silent: true }\r\n      },\r\n      { module: require('postcss-each') },\r\n      { module: require('postcss-for') },\r\n      { module: require('precss') },\r\n      {\r\n        module:  require('postcss-cssnext'),\r\n        options: {\r\n          features: {\r\n            customProperties: { strict: false }\r\n          }\r\n        }\r\n      }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\nAn excerpt from our `app/styles/app.css` looks like this:\r\n\r\n```css\r\n/* ember-component-css */\r\n@import \"pod-styles.css\";\r\n\r\n/* Print specific styles */\r\n@import \"print.css\";\r\n```\r\n\r\n`print.css` is in the same directory as `app.css` and can be imported without problems.\r\n\r\nMy understanding was that `ember-component-css` concatenates all component `styles.css` into a \"virtual\" (for lack of a better name) `pod-styles.css` file during build time and places this file in the \"virtual\" `app/styles/` directory.\r\n\r\nThis did work prior to upgrading to `ember-cli@2.9.1`, i.e. in `2.8.0`.\r\n\r\nHowever now, `postcss` cannot find that file anymore:\r\n\r\n```\r\nThe Broccoli Plugin: [PostcssCompiler] failed with:\r\nError: ENOENT: no such file or directory, open '/home/jan/workspace/web/tmp/postcss_compiler-input_base_path-vRydnhSb.tmp/0/app/styles/pod-styles.css'\r\n    at Error (native)\r\n\r\nThe broccoli plugin was instantiated at: \r\n    at PostcssCompiler.Plugin (/home/jan/workspace/web/node_modules/broccoli-plugin/index.js:7:31)\r\n    at PostcssCompiler.CachingWriter [as constructor] (/home/jan/workspace/web/node_modules/broccoli-postcss-single/node_modules/broccoli-caching-writer/index.js:18:10)\r\n    at new PostcssCompiler (/home/jan/workspace/web/node_modules/broccoli-postcss-single/index.js:18:17)\r\n    at /home/jan/workspace/web/node_modules/ember-cli-postcss/index.js:36:12\r\n    at Array.map (native)\r\n    at PostcssPlugin.toTree (/home/jan/workspace/web/node_modules/ember-cli-postcss/index.js:33:34)\r\n    at /home/jan/workspace/web/node_modules/ember-cli-preprocess-registry/preprocessors.js:180:26\r\n    at Array.forEach (native)\r\n    at processPlugins (/home/jan/workspace/web/node_modules/ember-cli-preprocess-registry/preprocessors.js:178:11)\r\n    at module.exports.preprocessCss (/home/jan/workspace/web/node_modules/ember-cli-preprocess-registry/preprocessors.js:148:10)\r\n    at EmberApp.styles (/home/jan/workspace/web/node_modules/ember-cli/lib/broccoli/ember-app.js:1318:28)\r\n    at EmberApp.toArray (/home/jan/workspace/web/node_modules/ember-cli/lib/broccoli/ember-app.js:1641:10)\r\n    at EmberApp.toTree (/home/jan/workspace/web/node_modules/ember-cli/lib/broccoli/ember-app.js:1662:30)\r\n    at module.exports (/home/jan/workspace/web/ember-cli-build.js:72:14)\r\n    at CoreObject.setupBroccoliBuilder (/home/jan/workspace/web/node_modules/ember-cli/lib/models/builder.js:70:19)\r\n    at CoreObject.init (/home/jan/workspace/web/node_modules/ember-cli/lib/models/builder.js:50:10)\r\n    at CoreObject.superWrapper [as init] (/home/jan/workspace/web/node_modules/core-object/lib/assign-properties.js:32:18)\r\n    at CoreObject.Class (/home/jan/workspace/web/node_modules/core-object/core-object.js:32:33)\r\n    at CoreObject.run (/home/jan/workspace/web/node_modules/ember-cli/lib/tasks/serve.js:15:19)\r\n    at /home/jan/workspace/web/node_modules/ember-cli/lib/commands/serve.js:76:24\r\n    at tryCatch (/home/jan/workspace/web/node_modules/rsvp/dist/rsvp.js:538:12)\r\n    at invokeCallback (/home/jan/workspace/web/node_modules/rsvp/dist/rsvp.js:553:13)\r\n    at /home/jan/workspace/web/node_modules/rsvp/dist/rsvp.js:628:16\r\n    at flush (/home/jan/workspace/web/node_modules/rsvp/dist/rsvp.js:2373:5)\r\n    at _combinedTickCallback (internal/process/next_tick.js:67:7)\r\n    at process._tickCallback (internal/process/next_tick.js:98:9)\r\n```\r\n\r\nThese are our dependencies:\r\n\r\n```\r\n\"devDependencies\": {\r\n  \"babel-eslint\": \"^6.1.2\",\r\n  \"broccoli-asset-rev\": \"^2.4.5\",\r\n  \"chartist\": \"^0.9.8\",\r\n  \"ember-ajax\": \"^2.4.1\",\r\n  \"ember-cli\": \"2.9.1\",\r\n  \"ember-cli-active-link-wrapper\": \"^0.3.1\",\r\n  \"ember-cli-app-version\": \"^2.0.0\",\r\n  \"ember-cli-babel\": \"^5.1.7\",\r\n  \"ember-cli-content-security-policy\": \"^0.5.0\",\r\n  \"ember-cli-copyable\": \"^0.9.6\",\r\n  \"ember-cli-dependency-checker\": \"^1.3.0\",\r\n  \"ember-cli-deploy\": \"^0.6.4\",\r\n  \"ember-cli-deploy-build\": \"^0.1.1\",\r\n  \"ember-cli-deploy-git-tag\": \"^0.2.0\",\r\n  \"ember-cli-deploy-redis\": \"^0.4.1\",\r\n  \"ember-cli-deploy-revision-data\": \"^0.2.1\",\r\n  \"ember-cli-eslint\": \"^3.0.0\",\r\n  \"ember-cli-htmlbars\": \"^1.0.10\",\r\n  \"ember-cli-htmlbars-inline-precompile\": \"^0.3.3\",\r\n  \"ember-cli-inject-live-reload\": \"^1.4.1\",\r\n  \"ember-cli-lorem-ipsum\": \"^0.0.2\",\r\n  \"ember-cli-postcss\": \"^3.0.5\",\r\n  \"ember-cli-qunit\": \"^3.0.1\",\r\n  \"ember-cli-sri\": \"^2.1.0\",\r\n  \"ember-cli-template-lint\": \"^0.4.12\",\r\n  \"ember-cli-test-loader\": \"^1.1.0\",\r\n  \"ember-cli-uglify\": \"^1.2.0\",\r\n  \"ember-component-css\": \"^0.2.1\",\r\n  \"ember-composable-helpers\": \"^1.1.2\",\r\n  \"ember-computed-decorators\": \"^0.2.2\",\r\n  \"ember-data\": \"^2.9.0\",\r\n  \"ember-data-preload\": \"^0.1.4\",\r\n  \"ember-disable-proxy-controllers\": \"^1.0.1\",\r\n  \"ember-export-application-global\": \"^1.0.5\",\r\n  \"ember-font-awesome\": \"^2.2.0\",\r\n  \"ember-href-to\": \"^1.6.0\",\r\n  \"ember-intl\": \"^2.13.0\",\r\n  \"ember-keyboard-shortcuts\": \"^0.3.0\",\r\n  \"ember-light-table\": \"^1.5.0\",\r\n  \"ember-load-initializers\": \"^0.5.1\",\r\n  \"ember-metrics\": \"^0.6.2\",\r\n  \"ember-one-way-controls\": \"^0.9.1\",\r\n  \"ember-pad\": \"^1.2.1\",\r\n  \"ember-page-title\": \"^3.0.9\",\r\n  \"ember-promise-helpers\": \"^1.0.2\",\r\n  \"ember-resize\": \"^0.0.17\",\r\n  \"ember-resolver\": \"^2.0.3\",\r\n  \"ember-route-action-helper\": \"^2.0.0\",\r\n  \"ember-run-raf\": \"^1.1.2\",\r\n  \"ember-simple-auth\": \"^1.1.0-beta.4\",\r\n  \"ember-truth-helpers\": \"^1.2.0\",\r\n  \"eslint\": \"^3.6.1\",\r\n  \"eslint-config-ember\": \"^0.3.0\",\r\n  \"liquid-fire\": \"^0.26.1\",\r\n  \"loader.js\": \"^4.0.10\",\r\n  \"normalize.css\": \"^4.2.0\",\r\n  \"postcss-cssnext\": \"^2.7.0\",\r\n  \"postcss-each\": \"^0.9.1\",\r\n  \"postcss-easy-import\": \"^1.0.1\",\r\n  \"postcss-for\": \"^2.1.1\",\r\n  \"postcss-nested\": \"^1.0.0\",\r\n  \"postcss-nested-ancestors\": \"0.0.1\",\r\n  \"postcss-simple-vars\": \"^3.0.0\",\r\n  \"precss\": \"^1.4.0\",\r\n  \"sanitize.css\": \"^4.1.0\",\r\n  \"stylelint\": \"^7.3.1\",\r\n  \"stylelint-config-standard\": \"^13.0.2\"\r\n}\r\n```"}}
{"actor":{"display_login":"buschtoens"}}