Title: "TypeError: Cannot read property 'elementBinders' of undefined" with angular2 and http SFX bundles · Issue #3890 · angular/angular · GitHub
Open Graph Title: "TypeError: Cannot read property 'elementBinders' of undefined" with angular2 and http SFX bundles · Issue #3890 · angular/angular
X Title: "TypeError: Cannot read property 'elementBinders' of undefined" with angular2 and http SFX bundles · Issue #3890 · angular/angular
Description: Using: alpha.35 Plnkr: http://plnkr.co/edit/SKDoDfEQJNEhjb1FZYfG?p=preview Using the following SFX scripts and creating a simple component causes the titular error: angular2: https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js ...
Open Graph Description: Using: alpha.35 Plnkr: http://plnkr.co/edit/SKDoDfEQJNEhjb1FZYfG?p=preview Using the following SFX scripts and creating a simple component causes the titular error: angular2: https://code.angularjs...
X Description: Using: alpha.35 Plnkr: http://plnkr.co/edit/SKDoDfEQJNEhjb1FZYfG?p=preview Using the following SFX scripts and creating a simple component causes the titular error: angular2: https://code.angularjs...
Opengraph URL: https://github.com/angular/angular/issues/3890
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"TypeError: Cannot read property 'elementBinders' of undefined\" with angular2 and http SFX bundles","articleBody":"Using: alpha.35\nPlnkr: http://plnkr.co/edit/SKDoDfEQJNEhjb1FZYfG?p=preview\n\nUsing the following SFX scripts and creating a simple component causes the titular error:\nangular2: https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js\nhttp: https://code.angularjs.org/2.0.0-alpha.35/http.sfx.dev.js\n\nFull trace:\n\n```\nEXCEPTION: RangeError: Maximum call stack size exceeded\nangular.sfx.dev.js:27039 STACKTRACE:\nangular.sfx.dev.js:27039 RangeError: Maximum call stack size exceeded\n at assert (http.sfx.dev.js:8075)\n at assert (http.sfx.dev.js:8075)\n at assert (http.sfx.dev.js:8075)\n at assert (http.sfx.dev.js:8075)\n at assert (http.sfx.dev.js:8075)\n at assert (http.sfx.dev.js:8075)\n at assert (http.sfx.dev.js:8075)\n at assert (http.sfx.dev.js:8075)\n at assert (http.sfx.dev.js:8075)\n at assert (http.sfx.dev.js:8075)\nangular.sfx.dev.js:27043 EXCEPTION: TypeError: Cannot read property 'elementBinders' of undefined\nangular.sfx.dev.js:27039 STACKTRACE:\nangular.sfx.dev.js:27039 TypeError: Cannot read property 'elementBinders' of undefined\n at _collectNestedProtoViews (angular.sfx.dev.js:18529)\n at System.register.execute.ProtoViewFactory.createAppProtoViews (angular.sfx.dev.js:18880)\n at angular.sfx.dev.js:35765\n at Zone.run (angular.sfx.dev.js:136)\n at Zone.System.register.execute.NgZone._createInnerZone.zone.fork.fork.$run [as run] (angular.sfx.dev.js:20109)\n at zoneBoundFn (angular.sfx.dev.js:109)\n at lib$es6$promise$$internal$$tryCatch (angular.sfx.dev.js:1359)\n at lib$es6$promise$$internal$$invokeCallback (angular.sfx.dev.js:1371)\n at lib$es6$promise$$internal$$publish (angular.sfx.dev.js:1342)\n at angular.sfx.dev.js:187\n```\n\nI can't really see what's going on at a grander scale, but I've deduced that `global.assert` gets defined in both SFX scripts, metioned above. (Potential problematic code below):\n\n```\nassertionsEnabled_ = typeof _global['assert'] !== 'undefined';\n_global.assert = function assert(condition) {\n if (assertionsEnabled_) {\n _global['assert'].call(condition);\n }\n};\n```\n\nThis code seems fine for the first definition (as `assertionsEnabled_` resolves to false), however, the second time around it resolves to true, therefore, whenever `window.assert` is called, Angular seems to get itself caught in an infinite loop, exceeding the maximum stack size.\n","author":{"url":"https://github.com/nweedon","@type":"Person","name":"nweedon"},"datePublished":"2015-08-28T18:41:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/3890/angular/issues/3890"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:27afd8f8-13f6-9ea4-716e-d1e56a712007 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B4DC:3889EE:11E2D67:18633D4:6A5F127C |
| html-safe-nonce | 2e271d00993f785c737b309bb3a42a0733d5e0e649b4b3d014ee6b8ccb552352 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNERDOjM4ODlFRToxMUUyRDY3OjE4NjMzRDQ6NkE1RjEyN0MiLCJ2aXNpdG9yX2lkIjoiNjQwMjA1MzIzMDcyMjc0OTA1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9a66982d6e818f766eb248d18a9087e5466f058f37bb73c7b521aa9b2494e348 |
| hovercard-subject-tag | issue:103773978 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/3890/issue_layout |
| twitter:image | https://opengraph.githubassets.com/119288ab2889de3bff7a18c4d47eb0f81bb9a6bb2e698d50e0dfdb2c8e8ee011/angular/angular/issues/3890 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/119288ab2889de3bff7a18c4d47eb0f81bb9a6bb2e698d50e0dfdb2c8e8ee011/angular/angular/issues/3890 |
| og:image:alt | Using: alpha.35 Plnkr: http://plnkr.co/edit/SKDoDfEQJNEhjb1FZYfG?p=preview Using the following SFX scripts and creating a simple component causes the titular error: angular2: https://code.angularjs... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nweedon |
| hostname | github.com |
| expected-hostname | github.com |
| None | bf8fa4b42b6d150def6175efb9b0f1ec8e9628d7229ee2bdf6e850e7bdad923e |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7debc3c6cd5de09c6e22b47a1b9982acb2aabb7b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width