{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/2417","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/2417/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/2417/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/2417/events","html_url":"https://github.com/angular/angular-cli/issues/2417","id":180036541,"number":2417,"title":"(another) ng build --prod issue","user":{"login":"m4mbart","id":11663618,"avatar_url":"https://avatars.githubusercontent.com/u/11663618?v=3","gravatar_id":"","url":"https://api.github.com/users/m4mbart","html_url":"https://github.com/m4mbart","followers_url":"https://api.github.com/users/m4mbart/followers","following_url":"https://api.github.com/users/m4mbart/following{/other_user}","gists_url":"https://api.github.com/users/m4mbart/gists{/gist_id}","starred_url":"https://api.github.com/users/m4mbart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m4mbart/subscriptions","organizations_url":"https://api.github.com/users/m4mbart/orgs","repos_url":"https://api.github.com/users/m4mbart/repos","events_url":"https://api.github.com/users/m4mbart/events{/privacy}","received_events_url":"https://api.github.com/users/m4mbart/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-29T12:33:28Z","updated_at":"2016-10-06T06:42:23Z","closed_at":"2016-10-05T16:27:46Z","body":"### OS?\r\nmacOS Siera (but previosly tested with Capitain)\r\n\r\n### Versions.\r\nangular-cli: 1.0.0-beta.16\r\nnodejs: v6.4.0\r\n\r\n### Repro steps.\r\nApp generated with CLI. Nothing changed in app.module structue. Only third party libs added to package.json\r\n\r\n### The log given by the failure.\r\n![prod-error](https://cloud.githubusercontent.com/assets/11663618/18954035/6f27de8e-8651-11e6-9b24-646454767de1.png)\r\n\r\nng serve works fine. ng build works fine too. This error only occurs with ng build --prod. Build process itself goes just fine. But when serving the output, one is presented with the stacktrace from the screenshot.\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/251879890","html_url":"https://github.com/angular/angular-cli/issues/2417#issuecomment-251879890","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/2417","id":251879890,"user":{"login":"m4mbart","id":11663618,"avatar_url":"https://avatars.githubusercontent.com/u/11663618?v=3","gravatar_id":"","url":"https://api.github.com/users/m4mbart","html_url":"https://github.com/m4mbart","followers_url":"https://api.github.com/users/m4mbart/followers","following_url":"https://api.github.com/users/m4mbart/following{/other_user}","gists_url":"https://api.github.com/users/m4mbart/gists{/gist_id}","starred_url":"https://api.github.com/users/m4mbart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m4mbart/subscriptions","organizations_url":"https://api.github.com/users/m4mbart/orgs","repos_url":"https://api.github.com/users/m4mbart/repos","events_url":"https://api.github.com/users/m4mbart/events{/privacy}","received_events_url":"https://api.github.com/users/m4mbart/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T06:42:23Z","updated_at":"2016-10-06T06:42:23Z","body":"If I break on the exception. 't' in this case is the window object."}}
{"actor":{"display_login":"m4mbart"}}