title: Error: No default engine was specified and no extension was provided. at new View MEAN stack
body: <p>So I'm following this guide <a href="https://www.djamware.com/post/5a878b3c80aca7059c142979/securing-mean-stack-angular-5-web-application-using-passport" rel="nofollow noreferrer">MEAN STACK GUIDE</a> </p>
  
  <p>I have encountered an error while on number 2</p>
  
  <p>I can't fix it myself since I'm new in studying mean stack</p>
  
  <p>any help here?</p>
  
  <p>here's the full error by the way</p>
  
  <pre><code>Error: No default engine was specified and no extension was provided.
      at new View (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/view.js:61:11)
      at Function.render (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/application.js:570:12)
      at ServerResponse.render (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/response.js:1008:7)
      at /Users/angelocolmenares/Desktop/Carwash/mean-secure/app.js:32:7
      at Layer.handle_error (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/router/layer.js:71:5)
      at trim_prefix (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/router/index.js:315:13)
      at /Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/router/index.js:284:7
      at Function.process_params (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/router/index.js:335:12)
      at next (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/router/index.js:275:10)
      at /Users/angelocolmenares/Desktop/Carwash/mean-secure/app.js:21:3
  GET /favicon.ico 404 1.584 ms - 1428
  Error: No default engine was specified and no extension was provided.
      at new View (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/view.js:61:11)
      at Function.render (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/application.js:570:12)
      at ServerResponse.render (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/response.js:1008:7)
      at /Users/angelocolmenares/Desktop/Carwash/mean-secure/app.js:32:7
      at Layer.handle_error (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/router/layer.js:71:5)
      at trim_prefix (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/router/index.js:315:13)
      at /Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/router/index.js:284:7
      at Function.process_params (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/router/index.js:335:12)
      at next (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/router/index.js:275:10)
      at /Users/angelocolmenares/Desktop/Carwash/mean-secure/app.js:21:3
  GET / 404 0.999 ms - 1428
  Error: No default engine was specified and no extension was provided.
      at new View (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/view.js:61:11)
      at Function.render (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/application.js:570:12)
      at ServerResponse.render (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/response.js:1008:7)
      at /Users/angelocolmenares/Desktop/Carwash/mean-secure/app.js:32:7
      at Layer.handle_error (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/router/layer.js:71:5)
      at trim_prefix (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/router/index.js:315:13)
      at /Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/router/index.js:284:7
      at Function.process_params (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/router/index.js:335:12)
      at next (/Users/angelocolmenares/Desktop/Carwash/mean-secure/node_modules/express/lib/router/index.js:275:10)
      at /Users/angelocolmenares/Desktop/Carwash/mean-secure/app.js:21:3
  </code></pre>