Open khadka27 opened 1 month ago
An error occurs while rendering the EJS templates, leading to a blank page or a server error.
Steps to Reproduce:
Trigger an action that requires rendering an EJS template.
Expected Behavior: The EJS template should render correctly without errors.
Actual Behavior: An error message appears in the console regarding EJS rendering.
Proposed Solution: Check the EJS files for syntax errors or issues in the data being passed to the templates.
so you try to redirect to home page like this but use dont have one res.redirect('/'); add home page ejs file and all res.render('homepage')
res.redirect('/');
res.render('homepage')
or just add return key word
An error occurs while rendering the EJS templates, leading to a blank page or a server error.
Steps to Reproduce:
Trigger an action that requires rendering an EJS template.
Expected Behavior:
The EJS template should render correctly without errors.
Actual Behavior:
An error message appears in the console regarding EJS rendering.
Proposed Solution:
Check the EJS files for syntax errors or issues in the data being passed to the templates.