Node create new Express project prompt an error: Failed to lookup view "error" in views directory
1. Use the EJS engine mode to report an error prompt FaiLED to lookup View “ERROR” in Views Directory
2. Solution
Add error.ejs to Views
<h1><%= message %></h1>
<h2><%= error.status %></h2>
<pre><%= error.stack %></pre>
3. ejs
template engine needs to be supplemented