따라하다 보니 에러가 나는데 어떤 에러인지 알 수가 없네요..
동영상이랑 소스 비교를 해봐도 틀린건 못찾겠습니다.
어떤 에러인가요?
View.js:5 Uncaught null
|
init |
@ |
View.js:5 |
|
ResultView.setup |
@ |
ResultView.js:9 |
|
init |
@ |
MainController.js:14 |
|
(anonymous) |
@ |
app.js:4 |
MainController.js:31 [MainController] onSubmit() 6578678678
MainController.js:19 [MainController] search() 6578678678
ResultView.js:15 [ResultView] render()
- <slot style="box-sizing:border-box;min-width:0px;min-height:0px"><span class="console-object console-object-preview" tabindex="-1" style="box-sizing:border-box;min-width:0px;min-height:0px;white-space:pre-wrap;overflow-wrap:break-word;font-style:italic;word-break:break-all"><span class="object-description" style="box-sizing:border-box;min-width:0px;min-height:0px">(2) </span><span class="object-properties-preview" style="box-sizing:border-box;min-width:0px;min-height:0px">[<span class="object-value-object" style="box-sizing:border-box;min-width:0px;min-height:0px">{…}</span>, <span class="object-value-object" style="box-sizing:border-box;min-width:0px;min-height:0px">{…}</span>]</span></span></slot>
ResultView.js:16 Uncaught (in promise) TypeError: Cannot set property 'innerHTML' of undefined at Object.ResultView.render (ResultView.js:16) at Object.onSearchResult (MainController.js:42) at MainController.js:23
|
ResultView.render |
@ |
ResultView.js:16 |
|
onSearchResult |
@ |
MainController.js:42 |
|
(anonymous) |
@ |
MainController.js:23 |
|
Promise.then (async) |
|
|
|
search |
@ |
MainController.js:21 |
|
onSubmit |
@ |
MainController.js:32 |
|
(anonymous) |
@ |
MainController.js:11 |
|
emit |
@ |
View.js:17 |
|
FormView.onKeyup |
@ |
FormView.js:31 |
|
(anonymous) |
@ |
FormView.js:22 |
답변 1