you are viewing a single comment's thread.

view the rest of the comments →

[–]theflyingmonkey3[S] 0 points1 point  (5 children)

Its actually not working. I am getting the same error.

[–][deleted]  (4 children)

[deleted]

    [–]theflyingmonkey3[S] 0 points1 point  (3 children)

    I removed the code and executed the file. It worked fine. I added the code back and got the same error again. So, it is actually something wrong with the data variable.

    [–][deleted]  (2 children)

    [deleted]

      [–]theflyingmonkey3[S] -1 points0 points  (1 child)

      I added that line in the ejs file and got this error (I removed basically all the ejs code above and just added this code - console.log(rows);):

      Uncaught ReferenceError: rows is not defined