{"action":"created","issue":{"url":"https://api.github.com/repos/postcss/fly-postcss/issues/6","repository_url":"https://api.github.com/repos/postcss/fly-postcss","labels_url":"https://api.github.com/repos/postcss/fly-postcss/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/postcss/fly-postcss/issues/6/comments","events_url":"https://api.github.com/repos/postcss/fly-postcss/issues/6/events","html_url":"https://github.com/postcss/fly-postcss/issues/6","id":131543199,"number":6,"title":"Error: Use process(css).then(cb) to work with async plugins","user":{"login":"girvo","id":1305443,"avatar_url":"https://avatars.githubusercontent.com/u/1305443?v=3","gravatar_id":"","url":"https://api.github.com/users/girvo","html_url":"https://github.com/girvo","followers_url":"https://api.github.com/users/girvo/followers","following_url":"https://api.github.com/users/girvo/following{/other_user}","gists_url":"https://api.github.com/users/girvo/gists{/gist_id}","starred_url":"https://api.github.com/users/girvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girvo/subscriptions","organizations_url":"https://api.github.com/users/girvo/orgs","repos_url":"https://api.github.com/users/girvo/repos","events_url":"https://api.github.com/users/girvo/events{/privacy}","received_events_url":"https://api.github.com/users/girvo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-05T03:17:12Z","updated_at":"2016-02-09T05:50:54Z","closed_at":null,"body":"As per title:\r\n```\r\n[13:14:57] Flying with /Users/josh/Personal/Hoodie/transactly/Flyfile.js...\r\n[13:14:57] Starting \"css\"\r\nstack:\r\n  - Error: Use process(css).then(cb) to work with async plugins\r\n  -     at LazyResult.sync (~/Personal/Hoodie/transactly/node_modules/fly-postcss/node_modules/postcss/lib/lazy-result.js 195:23)\r\n  -     at LazyResult.stringify (~/Personal/Hoodie/transactly/node_modules/fly-postcss/node_modules/postcss/lib/lazy-result.js 217:14)\r\n  -     at LazyResult.get (~/Personal/Hoodie/transactly/node_modules/fly-postcss/node_modules/postcss/lib/lazy-result.js 246:25)\r\n  -     at Fly.<anonymous> (~/Personal/Hoodie/transactly/node_modules/fly-postcss/index.js 3:82)\r\n  -     at Fly.callee$3$0$ (/usr/local/Cellar/nvm/0.25.1/versions/node/v4.2.4/lib/node_modules/fly/dist/fly.js 485:57)\r\n  -     at tryCatch (/usr/local/Cellar/nvm/0.25.1/versions/node/v4.2.4/lib/node_modules/fly/node_modules/babel-runtime/regenerator/runtime.js 72:40)\r\n  -     at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/Cellar/nvm/0.25.1/versions/node/v4.2.4/lib/node_modules/fly/node_modules/babel-runtime/regenerator/runtime.js 334:22)\r\n  -     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/Cellar/nvm/0.25.1/versions/node/v4.2.4/lib/node_modules/fly/node_modules/babel-runtime/regenerator/runtime.js 105:21)\r\n  -     at tryCatch (/usr/local/Cellar/nvm/0.25.1/versions/node/v4.2.4/lib/node_modules/fly/node_modules/babel-runtime/regenerator/runtime.js 72:40)\r\n  -     at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/Cellar/nvm/0.25.1/versions/node/v4.2.4/lib/node_modules/fly/node_modules/babel-runtime/regenerator/runtime.js 280:24)\r\nmessage: Use process(css).then(cb) to work with async plugins\r\n[13:14:58] css failed due to Error: Use process(css).then(cb) to work with async plugins\r\n```\r\n\r\nThis is the function:\r\n\r\n```js\r\nexport function* css() {\r\n    // Load all our PostCSS plugins\r\n    let processors = [require('autoprefixer'), require('precss')]\r\n    let syntax = require('postcss-scss')\r\n\r\n    yield this\r\n        .source('styles/main.css')\r\n        .postcss({ syntax, processors, })\r\n        .target('www/assets')\r\n}\r\n```\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/postcss/fly-postcss/issues/comments/181721141","html_url":"https://github.com/postcss/fly-postcss/issues/6#issuecomment-181721141","issue_url":"https://api.github.com/repos/postcss/fly-postcss/issues/6","id":181721141,"user":{"login":"girvo","id":1305443,"avatar_url":"https://avatars.githubusercontent.com/u/1305443?v=3","gravatar_id":"","url":"https://api.github.com/users/girvo","html_url":"https://github.com/girvo","followers_url":"https://api.github.com/users/girvo/followers","following_url":"https://api.github.com/users/girvo/following{/other_user}","gists_url":"https://api.github.com/users/girvo/gists{/gist_id}","starred_url":"https://api.github.com/users/girvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girvo/subscriptions","organizations_url":"https://api.github.com/users/girvo/orgs","repos_url":"https://api.github.com/users/girvo/repos","events_url":"https://api.github.com/users/girvo/events{/privacy}","received_events_url":"https://api.github.com/users/girvo/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T05:50:53Z","updated_at":"2016-02-09T05:50:53Z","body":"Never mind, got it sorted and have sent a pull-request through @bucaran @morishitter "}}