jade找不到问题
已经安装了jade
前面这里也没有写错
app.set('views','./views');
app.set('view enginne','jade');
为什么还是报这样的错呢
Error: No default engine was specified and no extension was provided.
at new View (D:\imooc\node_modules\express\lib\view.js:62:11)
at EventEmitter.render (D:\imooc\node_modules\express\lib\application.js:569:12)
at ServerResponse.render (D:\imooc\node_modules\express\lib\response.js:960:7)
at D:\imooc\app.js:13:6
at Layer.handle [as handle_request] (D:\imooc\node_modules\express\lib\router\layer.js:95:5)
at next (D:\imooc\node_modules\express\lib\router\route.js:131:13)
at Route.dispatch (D:\imooc\node_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (D:\imooc\node_modules\express\lib\router\layer.js:95:5)
at D:\imooc\node_modules\express\lib\router\index.js:277:22
at Function.process_params (D:\imooc\node_modules\express\lib\router\index.js:330:12)