Ask Your Question
1

What does "Failed to lookup view 'error' in views directory" mean in express node.js?

asked 2023-04-30 02:40:48 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-04-30 03:01:01 +0000

david gravatar image

This error message means that Express cannot find the template file 'error' in the views directory specified in the application. This could occur for a few reasons, such as an incorrect template file name, an incorrect file path, or a missing views directory.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-04-30 02:40:48 +0000

Seen: 12 times

Last updated: Apr 30 '23