x
)- [x] bug report -> please search issues before submitting(I believe bug, not 100% sure)
- [ ] feature request
ng version 1.4.4
node: 8.4.0
os: darwin x64
here is my repo to the code:
Repo
I was running just fine and I have looked into trying to solve the issue. Here is the link to my Stack Overflow Question:
Stack Overflow
I did not run any commands other than ng serve.
Error in the console that came (also in the stack question):
UnlockComponent.html:81 ERROR TypeError: Cannot read property 'subscribe' of undefined
at UnlockComponent.webpackJsonp.../../../../../src/app/unlock/unlock.component.ts.UnlockComponent.unlock (unlock.component.ts:252)
at Object.eval [as handleEvent] (UnlockComponent.html:81)
at handleEvent (core.es5.js:12023)
at callWithDebugContext (core.es5.js:13493)
at Object.debugHandleEvent [as handleEvent] (core.es5.js:13081)
at dispatchEvent (core.es5.js:8615)
at core.es5.js:9226
at HTMLButtonElement.<anonymous> (platform-browser.es5.js:2651)
at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:425)
at Object.onInvokeTask (core.es5.js:3881)
ERROR CONTEXT
DebugContext_ {view: {鈥, nodeIndex: 120, nodeDef: {鈥, elDef: {鈥, elView: {鈥}
component
:
(...)
componentRenderElement
:
(...)
context
:
(...)
elDef
:
{index: 120, parent: {鈥, renderParent: {鈥, bindingIndex: 12, outputIndex: 6, 鈥
elOrCompView
:
(...)
elView
:
{def: {鈥, parent: {鈥, viewContainerParent: null, parentNodeDef: {鈥, context: UnlockComponent, 鈥
injector
:
(...)
nodeDef
:
{index: 120, parent: {鈥, renderParent: {鈥, bindingIndex: 12, outputIndex: 6, 鈥
nodeIndex
:
120
providerTokens
:
(...)
references
:
(...)
renderNode
:
(...)
view
:
{def: {鈥, parent: {鈥, viewContainerParent: null, parentNodeDef: {鈥, context: UnlockComponent, 鈥
__proto__
:
Object
I have looked a number of times to find if the issue was spelling or camel casing...no avail.
This Error was not present before today. I haven't had any issues with this until today.
worked around with a different solution
What was your solution?
+1
what was the solution?
having the same issue
And me too
same
Having same problem
having the same problem here when testing
TypeError: Cannot read property 'subscribe' of undefined
yes I also the same problem
I also the same problem
same problem
same problem is occurred in my project also , is there any solution for that?
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
What was your solution?