I am facing an issue while using ejs-mate. The error is in <% layout("path") %>. The path is correct But does not work

23 views Asked by At

Error Msg :-

no such file or directory, open 'D:\Web Projects\major\views\listings\layouts\boilerplate.ejs'

I have tried a lot but in a result I got the error again and again.I have changed the syntax and even I have copied the same code and from the npm website. I have used app.engine("ejs",ejsMate) and as well I have set the view engine.

0

There are 0 answers