You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without having the entirety of your application code, it is impossible to debug an issue like this. Also, given the millions of installations EJS has every week, it is very unlikely the problem is in EJS itself. Debugging application code that uses EJS is beyond the scope of our project. If you can provide us a minimal test that demonstrates a bug in EJS itself, we're happy to take a look.
"ejs": "^3.1.10",
"express": "^4.21.0",
index.js
In login.ejs
<%- include('../partials/header.ejs') %>
everything works fine
views/login/login.ejs
When I try to do the same in views/app/dashboard.ejs
views/app/dashboard.ejs
<%- include('../partials/header.ejs') %>
I get an error
TypeError: C:\Users\range\Documents\GitHub\FAMQGTA\views\app\dashboard.ejs:77
75|
76|
include is not a function
The text was updated successfully, but these errors were encountered: