{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/4178","labels_url":"https://api.github.com/repos/meteor/meteor/issues/4178/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/4178/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/4178/events","html_url":"https://github.com/meteor/meteor/issues/4178","id":67918229,"number":4178,"title":"Getting error when build after update to latest version (1.1.0.2)","user":{"login":"brugnara","id":2781191,"avatar_url":"https://avatars.githubusercontent.com/u/2781191?v=3","gravatar_id":"","url":"https://api.github.com/users/brugnara","html_url":"https://github.com/brugnara","followers_url":"https://api.github.com/users/brugnara/followers","following_url":"https://api.github.com/users/brugnara/following{/other_user}","gists_url":"https://api.github.com/users/brugnara/gists{/gist_id}","starred_url":"https://api.github.com/users/brugnara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brugnara/subscriptions","organizations_url":"https://api.github.com/users/brugnara/orgs","repos_url":"https://api.github.com/users/brugnara/repos","events_url":"https://api.github.com/users/brugnara/events{/privacy}","received_events_url":"https://api.github.com/users/brugnara/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-12T13:51:26Z","updated_at":"2015-04-14T21:57:26Z","closed_at":null,"body":"I'm getting this error launching `meteor build ../build --server=mybuild.mysite.com`\r\n(`meteor build --directory ../build ...` gives same error).\r\n\r\nDebian 7. No probles building on osx with `-- architecture=os.linux.x86_64` and then running on the server.\r\n```\r\n/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:259\r\n\t\t\tthrow new Error('Must throw non-empty error');\r\n\t\t\t      ^\r\nError: Must throw non-empty error\r\n    at Object.Future.throw (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:259:10)\r\n    at Extract.<anonymous> (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/files.js:697:42)\r\n    at Extract.emit (events.js:117:20)\r\n    at DirWriter.<anonymous> (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/tar/lib/extract.js:61:8)\r\n    at DirWriter.emit (events.js:117:20)\r\n    at FileWriter.<anonymous> (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/fstream/lib/dir-writer.js:158:12)\r\n    at FileWriter.emit (events.js:117:20)\r\n    at WriteStream.<anonymous> (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/fstream/lib/file-writer.js:50:47)\r\n    at WriteStream.emit (events.js:95:17)\r\n    at onwriteError (_stream_writable.js:239:10)\r\n    at onwrite (_stream_writable.js:257:5)\r\n    at WritableState.onwrite (_stream_writable.js:97:5)\r\n    at evalmachine.<anonymous>:1692:14\r\n    at Object.wrapper [as oncomplete] (evalmachine.<anonymous>:522:5)\r\n```"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/93081263","html_url":"https://github.com/meteor/meteor/issues/4178#issuecomment-93081263","issue_url":"https://api.github.com/repos/meteor/meteor/issues/4178","id":93081263,"user":{"login":"glasser","id":16724,"avatar_url":"https://avatars.githubusercontent.com/u/16724?v=3","gravatar_id":"","url":"https://api.github.com/users/glasser","html_url":"https://github.com/glasser","followers_url":"https://api.github.com/users/glasser/followers","following_url":"https://api.github.com/users/glasser/following{/other_user}","gists_url":"https://api.github.com/users/glasser/gists{/gist_id}","starred_url":"https://api.github.com/users/glasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glasser/subscriptions","organizations_url":"https://api.github.com/users/glasser/orgs","repos_url":"https://api.github.com/users/glasser/repos","events_url":"https://api.github.com/users/glasser/events{/privacy}","received_events_url":"https://api.github.com/users/glasser/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T21:57:26Z","updated_at":"2015-04-14T21:57:26Z","body":"Looks like an error handling bug in the fstream module:\r\n\r\nhttps://github.com/npm/fstream/blob/master/lib/file-writer.js#L50\r\n\r\nThat line sure ought to actually be passing an error from `_stream` into the next level of emitting...\r\n\r\nIf you go into `/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/fstream/lib/file-writer.js` and change line 50 temporarily to \r\n\r\n```\r\n  self._stream.on('error', function (e) { self.emit('error', e) })\r\n```\r\n\r\nand try again, you should get a better error message.\r\n\r\n(Which maybe is \"out of disk\" or a permission error or something.)"}}