bradtraversy / node_passport_login

Node.js login, registration and access control using Express and Passport
1.73k stars 1.3k forks source link

Error on opening Register Page #101

Open sahilcode17 opened 2 years ago

sahilcode17 commented 2 years ago

In Register Page The error is shown as : Could not find the include file "("./partials/messages");" is due <%- include ("./partials/messages"); %> in the file Register.ejs Due to which the page is not able to fetch the errors changing to <% include ./partials/messages %> resolves the error

da-foxbite commented 2 years ago

You also can delete the whitespace between include and ("

Worked for me

Techpro709 commented 2 years ago

Same problem,

the solution above worked for me though.