-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when using @Query #26
Comments
Updated this one to alpha.35 too. Basically same error + some more: EXCEPTION: TypeError: Cannot read property '__$56391968$4$__' of undefined
angular2.js:21809 STACKTRACE:
angular2.js:21809 TypeError: Cannot read property '__$56391968$4$__' of undefined
at Object.getOwnHashObject (traceur-runtime.js:185)
at Object.genericType (traceur-runtime.js:1414)
at Function.execute.Object.defineProperty.get (hello.js:36)
at ReflectionCapabilities.execute.ReflectionCapabilities.parameters (angular2.js:8358)
at Reflector.execute.Reflector.parameters (angular2.js:8167)
at _dependenciesFor (angular2.js:25237)
at execute.Binding.resolve (angular2.js:25375)
at Function.execute.DirectiveBinding.createFromBinding (angular2.js:27645)
at Function.execute.DirectiveBinding.createFromType (angular2.js:27679)
at execute.Compiler._bindDirective (angular2.js:28921)
angular2.js:21813 EXCEPTION: TypeError: Cannot read property 'ref' of undefined
angular2.js:21809 STACKTRACE:
angular2.js:21809 TypeError: Cannot read property 'ref' of undefined
at angular2.js:28950
at Zone.run (angular2.js:118)
at Zone.execute.NgZone._createInnerZone.zone.fork.fork.$run [as run] (angular2.js:15745)
at zoneBoundFn (angular2.js:91)
at lib$es6$promise$$internal$$tryCatch (angular2.js:1341)
at lib$es6$promise$$internal$$invokeCallback (angular2.js:1353)
at lib$es6$promise$$internal$$publish (angular2.js:1324)
at angular2.js:169
at execute.NgZone._createInnerZone.zone.fork.fork.$scheduleMicrotask.microtask (angular2.js:15771)
at Zone.run (angular2.js:118)
angular2.js:21813 EXCEPTION: TypeError: Cannot read property 'elementBinders' of null
angular2.js:21809 STACKTRACE:
angular2.js:21809 TypeError: Cannot read property 'elementBinders' of null
at execute.AppViewManager.createRootHostView (angular2.js:25793)
at angular2.js:16411
at Zone.run (angular2.js:118)
at Zone.execute.NgZone._createInnerZone.zone.fork.fork.$run [as run] (angular2.js:15745)
at zoneBoundFn (angular2.js:91)
at lib$es6$promise$$internal$$tryCatch (angular2.js:1341)
at lib$es6$promise$$internal$$invokeCallback (angular2.js:1353)
at lib$es6$promise$$internal$$publish (angular2.js:1324)
at angular2.js:169
at execute.NgZone._createInnerZone.zone.fork.fork.$scheduleMicrotask.microtask (angular2.js:15771)
angular2.js:21813 EXCEPTION: TypeError: Cannot read property 'location' of undefined
angular2.js:21809 STACKTRACE:
angular2.js:21809 TypeError: Cannot read property 'location' of undefined
at angular2.js:29571
at Zone.run (angular2.js:118)
at Zone.execute.NgZone._createInnerZone.zone.fork.fork.$run [as run] (angular2.js:15745)
at zoneBoundFn (angular2.js:91)
at lib$es6$promise$$internal$$tryCatch (angular2.js:1341)
at lib$es6$promise$$internal$$invokeCallback (angular2.js:1353)
at lib$es6$promise$$internal$$publish (angular2.js:1324)
at angular2.js:169
at execute.NgZone._createInnerZone.zone.fork.fork.$scheduleMicrotask.microtask (angular2.js:15771)
at Zone.run (angular2.js:118)
angular2.js:21813 EXCEPTION: TypeError: Cannot read property 'hostView' of undefined
angular2.js:21809 STACKTRACE:
angular2.js:21809 TypeError: Cannot read property 'hostView' of undefined
at zone.run.tick (angular2.js:29604)
at Zone.run (angular2.js:118)
at Zone.execute.NgZone._createInnerZone.zone.fork.fork.$run [as run] (angular2.js:15745)
at zoneBoundFn (angular2.js:91)
at lib$es6$promise$$internal$$tryCatch (angular2.js:1341)
at lib$es6$promise$$internal$$invokeCallback (angular2.js:1353)
at lib$es6$promise$$internal$$publish (angular2.js:1324)
at angular2.js:169
at execute.NgZone._createInnerZone.zone.fork.fork.$scheduleMicrotask.microtask (angular2.js:15771)
at Zone.run (angular2.js:118) FYI |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @pkozlowski-opensource
it's actually not the first time I ran into this with this setup. Whenever I use
@Query
traceur throws.Here's a snippet of my code:
Here's the (not so helpful error):
The text was updated successfully, but these errors were encountered: