{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/flow/issues/1148","labels_url":"https://api.github.com/repos/facebook/flow/issues/1148/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flow/issues/1148/comments","events_url":"https://api.github.com/repos/facebook/flow/issues/1148/events","html_url":"https://github.com/facebook/flow/issues/1148","id":120145097,"number":1148,"title":"Fatal error: exception Invalid_argument(\"String.sub / Bytes.sub\")","user":{"login":"kimmobrunfeldt","id":1232405,"avatar_url":"https://avatars.githubusercontent.com/u/1232405?v=3","gravatar_id":"","url":"https://api.github.com/users/kimmobrunfeldt","html_url":"https://github.com/kimmobrunfeldt","followers_url":"https://api.github.com/users/kimmobrunfeldt/followers","following_url":"https://api.github.com/users/kimmobrunfeldt/following{/other_user}","gists_url":"https://api.github.com/users/kimmobrunfeldt/gists{/gist_id}","starred_url":"https://api.github.com/users/kimmobrunfeldt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimmobrunfeldt/subscriptions","organizations_url":"https://api.github.com/users/kimmobrunfeldt/orgs","repos_url":"https://api.github.com/users/kimmobrunfeldt/repos","events_url":"https://api.github.com/users/kimmobrunfeldt/events{/privacy}","received_events_url":"https://api.github.com/users/kimmobrunfeldt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-03T10:58:50Z","updated_at":"2015-12-03T17:37:58Z","closed_at":null,"body":"When running flow, I get a fatal error:\r\n\r\n```\r\nFatal error: exception Invalid_argument(\"String.sub / Bytes.sub\")\r\n```\r\nI have an empty .flowconfig created with `flow init`. I installed flow via `npm install flow-bin`, but that downloads the released binary so I assumed it makes no difference.\r\n\r\n**Versions:**\r\nOS X 10.10.5 \r\nFlow: OS X Binaries: v0.19.0/flow-osx-v0.19.0.zip\r\nnpm 2.14.2\r\nnode v4.0.0"},"comment":{"url":"https://api.github.com/repos/facebook/flow/issues/comments/161726239","html_url":"https://github.com/facebook/flow/issues/1148#issuecomment-161726239","issue_url":"https://api.github.com/repos/facebook/flow/issues/1148","id":161726239,"user":{"login":"mroch","id":3012,"avatar_url":"https://avatars.githubusercontent.com/u/3012?v=3","gravatar_id":"","url":"https://api.github.com/users/mroch","html_url":"https://github.com/mroch","followers_url":"https://api.github.com/users/mroch/followers","following_url":"https://api.github.com/users/mroch/following{/other_user}","gists_url":"https://api.github.com/users/mroch/gists{/gist_id}","starred_url":"https://api.github.com/users/mroch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mroch/subscriptions","organizations_url":"https://api.github.com/users/mroch/orgs","repos_url":"https://api.github.com/users/mroch/repos","events_url":"https://api.github.com/users/mroch/events{/privacy}","received_events_url":"https://api.github.com/users/mroch/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T17:37:58Z","updated_at":"2015-12-03T17:37:58Z","body":"looking at the places we call `String.sub`, it's most likely while trying to print an error. can you try with `--old-output-format`? that'll help figure out what the error struct looks like so we can repro with the new printer."}}