{"action":"created","issue":{"url":"https://api.github.com/repos/tarlepp/angular-sailsjs-boilerplate/issues/79","labels_url":"https://api.github.com/repos/tarlepp/angular-sailsjs-boilerplate/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/tarlepp/angular-sailsjs-boilerplate/issues/79/comments","events_url":"https://api.github.com/repos/tarlepp/angular-sailsjs-boilerplate/issues/79/events","html_url":"https://github.com/tarlepp/angular-sailsjs-boilerplate/issues/79","id":91325287,"number":79,"title":"Trying to set up a production site using nginx -- gulp dist failing","user":{"login":"cwoloszynski","id":579268,"avatar_url":"https://avatars.githubusercontent.com/u/579268?v=3","gravatar_id":"","url":"https://api.github.com/users/cwoloszynski","html_url":"https://github.com/cwoloszynski","followers_url":"https://api.github.com/users/cwoloszynski/followers","following_url":"https://api.github.com/users/cwoloszynski/following{/other_user}","gists_url":"https://api.github.com/users/cwoloszynski/gists{/gist_id}","starred_url":"https://api.github.com/users/cwoloszynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwoloszynski/subscriptions","organizations_url":"https://api.github.com/users/cwoloszynski/orgs","repos_url":"https://api.github.com/users/cwoloszynski/repos","events_url":"https://api.github.com/users/cwoloszynski/events{/privacy}","received_events_url":"https://api.github.com/users/cwoloszynski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-26T18:15:39Z","updated_at":"2015-06-27T02:49:08Z","closed_at":null,"body":"I am trying to put together a production plan to use this approach.  I need a production server as well as an HTTPS proxy for the backend.  Seems like nginx would be a good fit to handle this. \r\n\r\nHowever, when I try to generate a static site to feed to nginx, using 'cd frontend; gulp dist' I get an error.  \r\n\r\n[18:38:26] Starting 'scripts-dist'...\r\n\r\nstream.js:94\r\nthrow er; // Unhandled stream error in pipe.\r\n^\r\nBroken @import declaration of \"http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700\" - timeout\r\n\r\nAm I doing something wrong or is this not working as designed? "},"comment":{"url":"https://api.github.com/repos/tarlepp/angular-sailsjs-boilerplate/issues/comments/115942771","html_url":"https://github.com/tarlepp/angular-sailsjs-boilerplate/issues/79#issuecomment-115942771","issue_url":"https://api.github.com/repos/tarlepp/angular-sailsjs-boilerplate/issues/79","id":115942771,"user":{"login":"cwoloszynski","id":579268,"avatar_url":"https://avatars.githubusercontent.com/u/579268?v=3","gravatar_id":"","url":"https://api.github.com/users/cwoloszynski","html_url":"https://github.com/cwoloszynski","followers_url":"https://api.github.com/users/cwoloszynski/followers","following_url":"https://api.github.com/users/cwoloszynski/following{/other_user}","gists_url":"https://api.github.com/users/cwoloszynski/gists{/gist_id}","starred_url":"https://api.github.com/users/cwoloszynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwoloszynski/subscriptions","organizations_url":"https://api.github.com/users/cwoloszynski/orgs","repos_url":"https://api.github.com/users/cwoloszynski/repos","events_url":"https://api.github.com/users/cwoloszynski/events{/privacy}","received_events_url":"https://api.github.com/users/cwoloszynski/received_events","type":"User","site_admin":false},"created_at":"2015-06-27T02:49:08Z","updated_at":"2015-06-27T02:49:08Z","body":"I did some investigating and it seems that the error is coming from the 'vendor' task.  The error occurs within the es.merge() call below.  I am guessing that it is in the dist() function but I am very new to gulp.  I don't know if this helps anyone to see the issue.\r\n\r\ngulp.task('vendors', function() {\r\n  var bowerStream = g.bowerFiles();\r\n\r\n   return es.merge(\r\n    bowerStream.pipe(g.filter('**/*.css')).pipe(dist('css', 'vendors')),\r\n    bowerStream.pipe(g.filter('**/*.js')).pipe(dist('js', 'vendors'))\r\n  );\r\n\r\n});"}}