Comments (12)
Closed. Obsolete.
from quickstart.
es6-shim.js:1 Uncaught RangeError: Maximum call stack size exceeded
<!doctype html>
<html>
<head>
<title>I</title>
<script src="quickstart/dist/es6-shim.js"></script>
<script src="bower_components/webcomponents.js/webcomponents.js"></script>
</head>
<body>
</body>
</html>
from quickstart.
Same case for me while trying to build a todoApp.
TypeError: Cannot read property 'annotations' of undefined
TypeError: Cannot read property 'annotations' of undefined
at ReflectionCapabilities.execute.$__export.annotations (http://localhost:8080/angular2/src/reflection/reflection_capabilities.js:83:40)
at Reflector.execute.$__export.annotations (http://localhost:8080/angular2/src/reflection/reflector.js:81:50)
at DirectiveMetadataReader.execute.$__export.read (http://localhost:8080/angular2/src/core/compiler/directive_metadata_reader.js:33:41)
at http://localhost:8080/angular2/src/core/compiler/compiler.js:127:35
at Array.map (native)
at Function.execute.$__export.map (http://localhost:8080/angular2/src/facade/collection.js:178:26)
at Compiler.execute.$__export.createSteps (http://localhost:8080/angular2/src/core/compiler/compiler.js:126:43)
at Compiler.execute.$__export._compileTemplate (http://localhost:8080/angular2/src/core/compiler/compiler.js:164:53)
at http://localhost:8080/angular2/src/core/compiler/compiler.js:154:29
at Zone.run (http://localhost:8080/dist/es6-shim.js:29891:19)
application.js:109 Uncaught (in promise) TypeError: Cannot read property 'annotations' of undefined {stack: (...), message: "Cannot read property 'annotations' of undefined"}
from quickstart.
I ran into the same issue.
TypeError: Cannot read property 'annotations' of undefined
TypeError: Cannot read property 'annotations' of undefined at ReflectionCapabilities.execute.$__export.annotations
(http://localhost:3456/quickstart/angular2/src/reflection/reflection_capabilities.js:81:40)
at Reflector.execute.$__export.annotations (http://localhost:3456/quickstart/angular2/src/reflection/reflector.js:81:50)
at DirectiveMetadataReader.execute.$__export.read (http://localhost:3456/quickstart/angular2/src/core/compiler/directive_metadata_reader.js:31:41)
at http://localhost:3456/quickstart/angular2/src/core/compiler/compiler.js:127:35
at Array.map (native)
at Function.execute.$__export.map (http://localhost:3456/quickstart/angular2/src/facade/collection.js:172:26)
at Compiler.execute.$__export.createSteps (http://localhost:3456/quickstart/angular2/src/core/compiler/compiler.js:126:43)
at Compiler.execute.$__export._compileTemplate (http://localhost:3456/quickstart/angular2/src/core/compiler/compiler.js:164:53)
at http://localhost:3456/quickstart/angular2/src/core/compiler/compiler.js:154:29
at Zone.run (http://localhost:3456/quickstart/dist/es6-shim.js:29889:19)
application.js:255
Uncaught (in promise) TypeError: Cannot read property 'annotations' of undefined {stack: (...), message: "Cannot read property 'annotations' of undefined"}
message: "Cannot read property 'annotations' of undefined"
stack: (...)
get stack: function () { [native code] }
set stack: function () { [native code] }
__proto__: Error
from quickstart.
same here: todoApp
from quickstart.
That's probably because an error in a View's directives, there is a PR pending on angular.
see angular/angular#1917
from quickstart.
Same problem
from quickstart.
Same here
from quickstart.
+1
from quickstart.
@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:
_ => resolver.resolveComponent(<any>node.value.component).then(factory => { node.value._resolvedComponentFactory = factory;
which cascades as an error in a wholly different call stack. The assignment above should be guarded by checking for a factory
value and issuing the appropriate error. In addition, the route should be validated beforehand. Furthermore, there should be a separate task to ensure that the (forthcoming?) route documentation specifically states what is required.
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.
from quickstart.
@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.
from quickstart.
Oops, I thought all Angular modules shared a common issues list.
Filed as Angular Issue #10168
from quickstart.
Related Issues (20)
- "npm install" fails on Windows 10
- Package.json issue
- Angular CLI doesn't cut it
- How to configure with Visual Studio HOT 1
- routing for Angular
- iam getting this error while restoring the package.json
- How do I specify a suite name in my e2e npm script?
- Tour of Heroes does not produce a valid testable application HOT 1
- pdf_viewer HOT 1
- Response with status: 404 Not Found for URL ...'62.12..'
- overrideProvider for single unit test HOT 1
- Creating a blog using vue JS and am experiencing this error xhr.js?b50d:172 GET http://localhost:8080/posts 404 (Not Found) . Please help
- TestBed.overrideProvider isn't override authService
- fig
- error TS2416:
- Unable to see Angular application and getting error message
- Uncaught Error
- Main.Js Error
- ctive provide
- Can I upgrade Webpack 1.10.2 to webpack 4.44.1 with Angular5 and Angular CLI 1.7.3 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quickstart.