I am using node.js, express and mongoose to create an app. But I'm encountring this error. The view '/about' already exists in the views directory. And also, I can't create any other view.
Please help!
Error: Failed to lookup view "/about" in views directory "G:\Project\app\views"
at Function.render (G:\Project\node_modules\express\lib\application.js:580:17)
at ServerResponse.render (G:\Project\node_modules\express\lib\response.js:1012:7)
at app.get (G:\Project\app.js:69:7)
at Layer.handle [as handle_request] (G:\Project\node_modules\express\lib\router\layer.js:95:5)
at next (G:\Project\node_modules\express\lib\router\route.js:137:13)
at Route.dispatch (G:\Project\node_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (G:\Project\node_modules\express\lib\router\layer.js:95:5)
at G:\Project\node_modules\express\lib\router\index.js:281:22
at Function.process_params (G:\Project\node_modules\express\lib\router\index.js:335:12)
at next (G:\Project\node_modules\express\lib\router\index.js:275:10)
at G:\Project\app.js:57:3
at Layer.handle [as handle_request] (G:\Project\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (G:\Project\node_modules\express\lib\router\index.js:317:13)
at G:\Project\node_modules\express\lib\router\index.js:284:7
at Function.process_params (G:\Project\node_modules\express\lib\router\index.js:335:12)
at next (G:\Project\node_modules\express\lib\router\index.js:275:10)