Closed kevintagline closed 1 year ago
In login.ejs and register.ejs files include statements are not correct, which is causing following error SyntaxError: Unexpected token '/' in /Users/tagline/node_passport_login/views/login.ejs while compiling ejs
SyntaxError: Unexpected token '/' in /Users/tagline/node_passport_login/views/login.ejs while compiling ejs
Try this line:
<%- include('./partials/messages.ejs') %>
instead of
<% include ./partials/messages %>
In login.ejs and register.ejs files include statements are not correct, which is causing following error
SyntaxError: Unexpected token '/' in /Users/tagline/node_passport_login/views/login.ejs while compiling ejs