{"action":"created","issue":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/271","labels_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/271/comments","events_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/271/events","html_url":"https://github.com/heroku/heroku-buildpack-nodejs/pull/271","id":110135358,"number":271,"title":"Replace sed with awk","user":{"login":"hunterloftis","id":364501,"avatar_url":"https://avatars.githubusercontent.com/u/364501?v=3","gravatar_id":"","url":"https://api.github.com/users/hunterloftis","html_url":"https://github.com/hunterloftis","followers_url":"https://api.github.com/users/hunterloftis/followers","following_url":"https://api.github.com/users/hunterloftis/following{/other_user}","gists_url":"https://api.github.com/users/hunterloftis/gists{/gist_id}","starred_url":"https://api.github.com/users/hunterloftis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hunterloftis/subscriptions","organizations_url":"https://api.github.com/users/hunterloftis/orgs","repos_url":"https://api.github.com/users/hunterloftis/repos","events_url":"https://api.github.com/users/hunterloftis/events{/privacy}","received_events_url":"https://api.github.com/users/hunterloftis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-07T01:28:53Z","updated_at":"2015-10-08T17:49:11Z","closed_at":"2015-10-08T14:18:09Z","pull_request":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/pulls/271","html_url":"https://github.com/heroku/heroku-buildpack-nodejs/pull/271","diff_url":"https://github.com/heroku/heroku-buildpack-nodejs/pull/271.diff","patch_url":"https://github.com/heroku/heroku-buildpack-nodejs/pull/271.patch"},"body":"After the release of npm 3, we had numerous customers run into issues with npm's verbose output (big, nested dep trees) conflicting somehow with `sed` (which is used to format all output in the buildpack). This replaces `sed` with `awk` in the output function for (hopefully) the same output without issues on large builds.\r\n\r\nI've tried writing a test to reproduce the `sed` errors without success. I suspect they have something to do with system limits (memory, open files, etc) that are not 1:1 reproduced in the heroku/cedar:14 Docker image used for testing."},"comment":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/comments/146636277","html_url":"https://github.com/heroku/heroku-buildpack-nodejs/pull/271#issuecomment-146636277","issue_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/271","id":146636277,"user":{"login":"zeke","id":2289,"avatar_url":"https://avatars.githubusercontent.com/u/2289?v=3","gravatar_id":"","url":"https://api.github.com/users/zeke","html_url":"https://github.com/zeke","followers_url":"https://api.github.com/users/zeke/followers","following_url":"https://api.github.com/users/zeke/following{/other_user}","gists_url":"https://api.github.com/users/zeke/gists{/gist_id}","starred_url":"https://api.github.com/users/zeke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeke/subscriptions","organizations_url":"https://api.github.com/users/zeke/orgs","repos_url":"https://api.github.com/users/zeke/repos","events_url":"https://api.github.com/users/zeke/events{/privacy}","received_events_url":"https://api.github.com/users/zeke/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T17:49:11Z","updated_at":"2015-10-08T17:49:11Z","body":"![sed__awk_on_branch](https://cloud.githubusercontent.com/assets/2289/10374859/f6942590-6dba-11e5-9274-921cd072bec5.gif)\r\n"}}