You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
messageList is not definedはmessageListという変数が未定義な状態を示しています。
おそらくroutes/boards.jsではなく、views/board.ejsの<% if (messageList.length) { %>の行で変数が渡って来ていないためエラーになっていると思う。
突然のご質問して失礼しました。
こちらの通りにままやらせていただきまして、
---Node.jsで詳細ページを作ってみよう---の所の
---メッセージを表示させてみよう--がエラーが出てきました。
メッセージ内容はmessageList is not definedになります。
エラー項目の中でいじったものとしては、
at Query._callback (/Users/*****/firstnodeapp/routes/boards.js:10:9)
になります。
原因がお分かりの方、御教授をいただければ幸いでございます。
よろしくお願いします。
The text was updated successfully, but these errors were encountered: