-
Notifications
You must be signed in to change notification settings - Fork 3.2k
TypeError: Cannot read property 'annotations' of undefined #12
Comments
es6-shim.js:1 Uncaught RangeError: Maximum call stack size exceeded
|
Same case for me while trying to build a todoApp.
|
I ran into the same issue.
|
same here: todoApp |
That's probably because an error in a View's directives, there is a PR pending on angular. |
Same problem |
Same here |
+1 |
Closed. Obsolete. |
@wardbell this should be reopened. The error is an uncaught exception that occurs in several situations. For me, it occurs when a route is defined without a component declaration. The main issue is that the error message is useless and difficult to trace. In my case, it indirectly results from the resolve.ts code:
which cascades as an error in a wholly different call stack. The assignment above should be guarded by checking for a This issue and its response are symptomatic of a pervasive cavalier disregard for defensive programming in the Angular development process. I appreciate how developers under pressure let issues like this slide, but technical leads and QA should know better. Code review, anyone? Unfortunately, defensive programming must be integral to the development process and is difficult to address after initial functional goals are achieved. |
@FredLoney the issue you are referring to should be reported in https://github.com/angular/angular rather than in the quickstart. The quickstart repo aims to provide a barebones development environment and is not the place to report issues with Angular 2 itself. |
Oops, I thought all Angular modules shared a common issues list. Filed as Angular Issue #10168 |
f1ef6a8 error:
Uncaught (in promise) TypeError: Cannot read property 'annotations' of undefined {stack: (...), message: "Cannot read property 'annotations' of undefined"}
a5f4882 work fine
The text was updated successfully, but these errors were encountered: