Node.js encountered the following error when accessing localhoast:3000. after trying several methods, it still failed. please help me slow down ~ ~ ~

  node.js, question

Error: Failed to lookup view “error” in views directory “D:\search\searchbook\views”
at EventEmitter.render (D:\search\searchbook\node_modules\express\lib\application.js:579:17)
at ServerResponse.render (D:\search\searchbook\node_modules\express\lib\response.js:961:7)
at D:\search\searchbook\app.js:54:7
at Layer.handle_error (D:\search\searchbook\node_modules\express\lib\router\layer.js:71:5)
at trim_prefix (D:\search\searchbook\node_modules\express\lib\router\index.js:310:13)
at D:\search\searchbook\node_modules\express\lib\router\index.js:280:7
at Function.process_params (D:\search\searchbook\node_modules\express\lib\router\index.js:330:12)
at IncomingMessage.next (D:\search\searchbook\node_modules\express\lib\router\index.js:271:10)
at done (D:\search\searchbook\node_modules\express\lib\response.js:956:25)
at EventEmitter.render (D:\search\searchbook\node_modules\express\lib\application.js:581:14)

Let me translate it for you

Cannot find view named error in the views directory
You have to do it again. It’s related to the template engine.