get-programming-with-nodejs icon indicating copy to clipboard operation
get-programming-with-nodejs copied to clipboard

solve Error: Failed to lookup view "index" in views directory

Open aliyarizadeh opened this issue 6 years ago • 0 comments

solve this Error=> Error: Failed to lookup view "index" in views directory

should set path "views" on your project: add this code for solve: app.set("views",__dirname+'\name you directory');

aliyarizadeh avatar Sep 15 '20 10:09 aliyarizadeh