{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/6929","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/6929/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/6929/comments","events_url":"https://api.github.com/repos/angular/angular/issues/6929/events","html_url":"https://github.com/angular/angular/issues/6929","id":131844645,"number":6929,"title":"Build fails after updating node to 5.4.1","user":{"login":"RobiFerentz","id":4889861,"avatar_url":"https://avatars.githubusercontent.com/u/4889861?v=3","gravatar_id":"","url":"https://api.github.com/users/RobiFerentz","html_url":"https://github.com/RobiFerentz","followers_url":"https://api.github.com/users/RobiFerentz/followers","following_url":"https://api.github.com/users/RobiFerentz/following{/other_user}","gists_url":"https://api.github.com/users/RobiFerentz/gists{/gist_id}","starred_url":"https://api.github.com/users/RobiFerentz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobiFerentz/subscriptions","organizations_url":"https://api.github.com/users/RobiFerentz/orgs","repos_url":"https://api.github.com/users/RobiFerentz/repos","events_url":"https://api.github.com/users/RobiFerentz/events{/privacy}","received_events_url":"https://api.github.com/users/RobiFerentz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-06T10:58:51Z","updated_at":"2016-02-17T09:27:01Z","closed_at":null,"body":"I'm having an issue building angular locally. \r\nThe console give me this:\r\n```\r\n'!bundle.js.prod' errored after 17 ms\r\n[12:51:37] TypeError: document.getElementsByTagName is not a function\r\n    at /Users/robertferentz/Work/angular/node_modules/systemjs-builder/node_modules/systemjs/dist/system.src.js:2332:28\r\n    at /Users/robertferentz/Work/angular/node_modules/systemjs-builder/node_modules/systemjs/dist/system.src.js:2403:3\r\n    at Object.<anonymous> (/Users/robertferentz/Work/angular/node_modules/systemjs-builder/node_modules/systemjs/dist/system.src.js:2405:3)\r\n    at Module._compile (module.js:397:26)\r\n    at Object.Module._extensions..js (module.js:404:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Module.require (module.js:353:17)\r\n    at require (internal/module.js:12:17)\r\n    at Object.<anonymous> (/Users/robertferentz/Work/angular/node_modules/systemjs-builder/lib/builder.js:2:14)\r\n[12:51:37] 'build.dart' errored after 2.32 min\r\n[12:51:37] Error: build sequence failed\r\n[12:51:37] 'build/packages.dart' errored after 2.32 min\r\n[12:51:37] Error: build sequence failed\r\n[12:51:37] 'build.js.dev' errored after 2.28 min\r\n[12:51:37] Error: build sequence failed\r\n[12:51:37] 'build/tree.dart' errored after 2.22 min\r\n[12:51:37] Error: build sequence failed\r\n[12:51:37] 'build/tree.dart' errored after 2.22 min\r\n[12:51:37] Error: build sequence failed\r\n[12:51:37] 'build.js.dev' errored after 2.28 min\r\n[12:51:37] Error: build sequence failed\r\n[12:51:37] 'build/tree.dart' errored after 2.22 min\r\n[12:51:37] Error: build sequence failed\r\n[12:51:37] 'build/packages.dart' errored after 2.32 min\r\n[12:51:37] Error: build sequence failed\r\n[12:51:37] 'build.js.dev' errored after 2.28 min\r\n[12:51:37] Error: build sequence failed\r\n[12:51:37] 'build/tree.dart' errored after 2.22 min\r\n[12:51:37] Error: build sequence failed\r\n[12:51:39] Finished 'build.css.material' after 2.19 s\r\n[12:51:40] Finished 'benchpress.bundle' after 50 s\r\n\r\n\r\n```\r\n\r\nSeems to only be an issue after updating the local repo from upstream and then using node 5.4.1 (as required by .nvmrc)"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/185113809","html_url":"https://github.com/angular/angular/issues/6929#issuecomment-185113809","issue_url":"https://api.github.com/repos/angular/angular/issues/6929","id":185113809,"user":{"login":"gbataille","id":1113065,"avatar_url":"https://avatars.githubusercontent.com/u/1113065?v=3","gravatar_id":"","url":"https://api.github.com/users/gbataille","html_url":"https://github.com/gbataille","followers_url":"https://api.github.com/users/gbataille/followers","following_url":"https://api.github.com/users/gbataille/following{/other_user}","gists_url":"https://api.github.com/users/gbataille/gists{/gist_id}","starred_url":"https://api.github.com/users/gbataille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbataille/subscriptions","organizations_url":"https://api.github.com/users/gbataille/orgs","repos_url":"https://api.github.com/users/gbataille/repos","events_url":"https://api.github.com/users/gbataille/events{/privacy}","received_events_url":"https://api.github.com/users/gbataille/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T09:27:01Z","updated_at":"2016-02-17T09:27:01Z","body":"+1"}}