简体   繁体   中英

Angular Component error in the console: ERROR TypeError: Cannot read property '1' of undefined

Currently I'm getting this strange error in my Chrome console. I don't understand how to approach in solving it.

PractiseLayoutComponent.html:10 ERROR TypeError: Cannot read property '1' of undefined
    at Object.eval [as updateRenderer] (PractiseLayoutComponent.html:10)
    at Object.debugUpdateRenderer [as updateRenderer] (core.es5.js:13105)
    at checkAndUpdateView (core.es5.js:12256)
    at callViewAction (core.es5.js:12599)
    at execComponentViewsAction (core.es5.js:12531)
    at checkAndUpdateView (core.es5.js:12257)
    at callViewAction (core.es5.js:12599)
    at execComponentViewsAction (core.es5.js:12531)
    at checkAndUpdateView (core.es5.js:12257)
    at callWithDebugContext (core.es5.js:13467)

Probably I've done something wrong. Unfortunately, it is very costly to revert changes. Anyway I definitely should get know how to cope with such a situation. Could anyone give some advice where to dig?

There is no error from ng serve in the terminal.

您应该在第10行查看PractiseLayoutComponent.html。那里可能缺少某些内容。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM