node.js - node js error in render (template show) -


when trying create template , node execute gives error please me

error: failed lookup view "default" in views directory "c:\users\act027\desktop\node\views"    @ eventemitter.app.render (c:\users\act027\desktop\node\node_modules\express\lib\application.js:519:17)    @ serverresponse.res.render (c:\users\act027\desktop\node\node_modules\express\lib\response.js:904:7)    @ c:\users\act027\desktop\node\app.js:7:6    @ layer.handle [as handle_request] (c:\users\act027\desktop\node\node_modules\express\lib\router\layer.js:82:5)    @ next (c:\users\act027\desktop\node\node_modules\express\lib\router\route.js:100:13)    @ route.dispatch (c:\users\act027\desktop\node\node_modules\express\lib\router\route.js:81:3)    @ layer.handle [as handle_request] (c:\users\act027\desktop\node\node_modules\express\lib\router\layer.js:82:5)    @ c:\users\act027\desktop\node\node_modules\express\lib\router\index.js:235:24    @ function.proto.process_params (c:\users\act027\desktop\node\node_modules\express\lib\router\index.js:313:12)    @ c:\users\act027\desktop\node\node_modules\express\lib\router\index.js:229:12  

you either in wrong folder or have no view named "default".


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -