'/update' Error: No default engine was specified and no extension was provided.
来源:10-12 开发路由
marong126
2019-06-05
Error: No default engine was specified and no extension was provided.
at new View (D:\Dropbox\javascript\NodeJS_imooc\blog-express\node_modules\express\lib\view.js:61:11)
at Function.render (D:\Dropbox\javascript\NodeJS_imooc\blog-express\node_modules\express\lib\application.js:570:12)
at ServerResponse.render (D:\Dropbox\javascript\NodeJS_imooc\blog-express\node_modules\express\lib\response.js:1008:7)
at D:\Dropbox\javascript\NodeJS_imooc\blog-express\app.js:65:7
at Layer.handle_error (D:\Dropbox\javascript\NodeJS_imooc\blog-express\node_modules\express\lib\router\layer.js:71:5)
at trim_prefix (D:\Dropbox\javascript\NodeJS_imooc\blog-express\node_modules\express\lib\router\index.js:315:13)
at D:\Dropbox\javascript\NodeJS_imooc\blog-express\node_modules\express\lib\router\index.js:284:7
at Function.process_params (D:\Dropbox\javascript\NodeJS_imooc\blog-express\node_modules\express\lib\router\index.js:335:12)
at next (D:\Dropbox\javascript\NodeJS_imooc\blog-express\node_modules\express\lib\router\index.js:275:10)
at Layer.handle_error (D:\Dropbox\javascript\NodeJS_imooc\blog-express\node_modules\express\lib\router\layer.js:67:12)
POST /api/blog/update?id=5 500 4.302 ms - 1444
1回答
-
双越
2019-06-05
猜测是 views 文件夹,以及 app.js 和 jade 相关的代码没清理干净。
00
相似问题