Skip to content
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

Record issue #1

Open
AnassHmida opened this issue Jun 12, 2020 · 2 comments
Open

Record issue #1

AnassHmida opened this issue Jun 12, 2020 · 2 comments

Comments

@AnassHmida
Copy link

Hello , when i run your project using "ng test" everything goes well , when i use your tool this error shows up for me :
context.js:253 ERROR TypeError: Cannot read property 'record' of undefined
at RecordComponent../src/app/record/record.component.ts.RecordComponent.listen (record.component.ts:67)
at Object.eval [as handleEvent] (RecordComponent.html:10)
at handleEvent (core.js:21673)
at callWithDebugContext (core.js:22767)
at Object.debugHandleEvent [as handleEvent] (core.js:22470)
at dispatchEvent (core.js:19122)
at core.js:19569
at HTMLAnchorElement. (platform-browser.js:993)
at ZoneDelegate../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)
at ProxyZoneSpec.push../node_modules/zone.js/dist/zone-testing.js.ProxyZoneSpec.onInvokeTask (zone-testing.js:319)
localConsole. @ context.js:253
View_RecordComponent_0 @ RecordComponent.html:9
proxyClass @ compiler.js:17945
push../node_modules/@angular/core/fesm5/core.js.DebugContext_.logError @ core.js:22729
push../node_modules/@angular/core/fesm5/core.js.ErrorHandler.handleError @ core.js:14645
dispatchEvent @ core.js:19126
(anonymous) @ core.js:19569
(anonymous) @ platform-browser.js:993
./node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:421
push../node_modules/zone.js/dist/zone-testing.js.ProxyZoneSpec.onInvokeTask @ zone-testing.js:319
./node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:420
onInvokeTask @ zone.js:299
./node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:420
onInvokeTask @ core.js:16147
./node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:420
./node_modules/zone.js/dist/zone.js.Zone.runTask @ zone.js:188
./node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask @ zone.js:496
invokeTask @ zone.js:1540
globalZoneAwareCallback @ zone.js:1566
context.js:253 ERROR CONTEXT DebugContext_ {view: {…}, nodeIndex: 12, nodeDef: {…}, elDef: {…}, elView: {…}}

i don't understand Angular alot , can you help me ?

@DamienFontaine
Copy link
Owner

Hi,
What command are you using to get this error message?

@AnassHmida
Copy link
Author

@DamienFontaine hey damien, i ran " ng test"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants