On Jan 4, 2015, at 2:23 AM, sachin tiwari wrote: > > I am beginner to node.js. I am working with an example here with and I am > using 'handlebars'. But I am unable to load view of pages. I have kept my > pages inside views folder but I am not able to see results. > > I am getting error. > > Error: Failed to lookup view "500" in views directory > "d:\projects\meadowlark\site\views"
It seems that an error has occurred in your application, and in the process of trying to show you the error message, a second error occurred, namely that it could not find the error page. Since it says it could not find a file called "500" in the directory "d:\projects\meadowlark\site\views", my first question would be: is there a file called "500" in the directory "d:\projects\meadowlark\site\views"? If not, make one with the correct contents. I don't know whether the template engine you're using requires you to use an extension on those template filenames, and if so what that extension is, or whether it requires you to use no extension. -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/8D051C02-0118-4712-AC1E-86C386680616%40ryandesign.com. For more options, visit https://groups.google.com/d/optout.
