node.js 질문이요.

node.js 질문이요.

QA

node.js 질문이요.

본문

C:\testBBS\BBS\views\bbs\read.ejs:11 9| 10| >> 11| <% 12| console.log("rows : " +JSON.stringify(rows)); 13| console.log("rows : " +rows.length); 14| rows is not defined

 

ReferenceError: C:\testBBS\BBS\views\bbs\read.ejs:11
    9| 
    10| 
 >> 11|     <%
    12|         console.log("rows : " +JSON.stringify(rows));
    13|         console.log("rows : " +rows.length);
    14|      

rows is not defined
    at eval (eval at compile (C:\testBBS\BBS\node_modules\ejs\lib\ejs.js:662:12), <anonymous>:11:47)
    at read (C:\testBBS\BBS\node_modules\ejs\lib\ejs.js:692:17)
    at tryHandleCache (C:\testBBS\BBS\node_modules\ejs\lib\ejs.js:272:36)
    at View.exports.renderFile [as engine] (C:\testBBS\BBS\node_modules\ejs\lib\ejs.js:489:10)
    at View.render (C:\testBBS\BBS\node_modules\express\lib\view.js:135:8)
    at tryRender (C:\testBBS\BBS\node_modules\express\lib\application.js:640:10)
    at Function.render (C:\testBBS\BBS\node_modules\express\lib\application.js:592:3)
    at ServerResponse.render (C:\testBBS\BBS\node_modules\express\lib\response.js:1008:7)
    at C:\testBBS\BBS\routes\bbs.js:38:17

이 질문에 댓글 쓰기 :

답변 1

답변을 작성하시기 전에 로그인 해주세요.
전체 95
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT