📜  错误:无法查找视图“ - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:20.310000             🧑  作者: Mango

代码示例1
Error: Failed to lookup view "user/dashBoard" in views directory "/home/mis_user/mis.geeklone.com/src/views"    at Function.render (/home/mis_user/mis.geeklone.com/node_modules/express/lib/application.js:580:17)    at ServerResponse.render (/home/mis_user/mis.geeklone.com/node_modules/express/lib/response.js:1012:7)    at /home/mis_user/mis.geeklone.com/src/routes/user/userRoutes.js:11:9    at Layer.handle [as handle_request] (/home/mis_user/mis.geeklone.com/node_modules/express/lib/router/layer.js:95:5)    at next (/home/mis_user/mis.geeklone.com/node_modules/express/lib/router/route.js:137:13)    at module.exports.sessionCheckProtected (/home/mis_user/mis.geeklone.com/src/middlewares/routeProtection.js:11:9)    at Layer.handle [as handle_request] (/home/mis_user/mis.geeklone.com/node_modules/express/lib/router/layer.js:95:5)    at next (/home/mis_user/mis.geeklone.com/node_modules/express/lib/router/route.js:137:13)    at Route.dispatch (/home/mis_user/mis.geeklone.com/node_modules/express/lib/router/route.js:112:3)    at Layer.handle [as handle_request] (/home/mis_user/mis.geeklone.com/node_modules/express/lib/router/layer.js:95:5)