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)

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/5e4b96d9-00c0-46a8-b9a4-6a77d95ac6d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to