We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
连接 500 TypeError:无法读取未定义的属性“ user” 在exports.authUser(/usr/local/work/nodeclub/middlewares/auth.js:94:19) 在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5) 在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13) 在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7 在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12) 在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10) 在初始化时(/usr/local/work/nodeclub/node_modules/passport/lib/middleware/initialize.js:53:5) 在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5) 在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13) 在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7 在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12) 在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10) 在会话中(/usr/local/work/nodeclub/node_modules/express-session/index.js:159:61) 在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5) 在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13) 在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7 在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12) 在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10) 压缩时(/usr/local/work/nodeclub/node_modules/compression/index.js:220:5) 在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5) 在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13) 在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7 在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12) 在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10) 在cookieParser(/usr/local/work/nodeclub/node_modules/cookie-parser/index.js:56:14) 在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5) 在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13) 在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7 在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12) 在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10) 在methodOverride(/usr/local/work/nodeclub/node_modules/method-override/index.js:65:14) 在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5) 在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13) 在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7 在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12) 在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10) 在urlencodedParser(/usr/local/work/nodeclub/node_modules/body-parser/lib/types/urlencoded.js:91:7) 在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5) 在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13) 在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7 在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12) 在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10) 在jsonParser(/usr/local/work/nodeclub/node_modules/body-parser/lib/types/json.js:103:7) 在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5) 在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13) 在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7 在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12) 在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10) 在frameguard(/usr/local/work/nodeclub/node_modules/frameguard/index.js:45:5) 在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5) 在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13) 在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7 在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12) 在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10) 在responseTime(/usr/local/work/nodeclub/node_modules/response-time/index.js:59:5) 在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5) 在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13) 在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7 在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12) 在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10) 在/usr/local/work/nodeclub/node_modules/loader-connect/connect.js:20:14 在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5) 在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13) 在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7 在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12) 在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10) 在exports.render(/usr/local/work/nodeclub/middlewares/render.js:16:3) 在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5) 在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13) 在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7 在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12) 在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10) 在module.exports(/usr/local/work/nodeclub/middlewares/request_log.js:21:3) 在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5) 在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13) 在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7 在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12) 在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10) 在expressInit(/usr/local/work/nodeclub/node_modules/express/lib/middleware/init.js:40:5) 在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5) 在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13) 在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7 在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12) 在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10) 在查询时(/usr/local/work/nodeclub/node_modules/express/lib/middleware/query.js:45:5) 在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5) 在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13) 在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7 在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12) 在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10) 在Function.handle(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:174:3) 在Function.handle(/usr/local/work/nodeclub/node_modules/express/lib/application.js:174:10) 在Server.app(/usr/local/work/nodeclub/node_modules/express/lib/express.js:39:9) 在Server.emit(events.js:210:5) 在parserOnIncoming(_http_server.js:745:12) 在HTTPParser.parserOnHeadersComplete(_http_common.js:115:17)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
连接
500 TypeError:无法读取未定义的属性“ user”
在exports.authUser(/usr/local/work/nodeclub/middlewares/auth.js:94:19)
在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5)
在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13)
在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7
在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12)
在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10)
在初始化时(/usr/local/work/nodeclub/node_modules/passport/lib/middleware/initialize.js:53:5)
在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5)
在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13)
在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7
在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12)
在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10)
在会话中(/usr/local/work/nodeclub/node_modules/express-session/index.js:159:61)
在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5)
在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13)
在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7
在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12)
在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10)
压缩时(/usr/local/work/nodeclub/node_modules/compression/index.js:220:5)
在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5)
在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13)
在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7
在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12)
在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10)
在cookieParser(/usr/local/work/nodeclub/node_modules/cookie-parser/index.js:56:14)
在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5)
在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13)
在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7
在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12)
在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10)
在methodOverride(/usr/local/work/nodeclub/node_modules/method-override/index.js:65:14)
在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5)
在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13)
在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7
在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12)
在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10)
在urlencodedParser(/usr/local/work/nodeclub/node_modules/body-parser/lib/types/urlencoded.js:91:7)
在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5)
在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13)
在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7
在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12)
在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10)
在jsonParser(/usr/local/work/nodeclub/node_modules/body-parser/lib/types/json.js:103:7)
在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5)
在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13)
在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7
在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12)
在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10)
在frameguard(/usr/local/work/nodeclub/node_modules/frameguard/index.js:45:5)
在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5)
在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13)
在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7
在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12)
在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10)
在responseTime(/usr/local/work/nodeclub/node_modules/response-time/index.js:59:5)
在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5)
在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13)
在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7
在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12)
在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10)
在/usr/local/work/nodeclub/node_modules/loader-connect/connect.js:20:14
在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5)
在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13)
在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7
在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12)
在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10)
在exports.render(/usr/local/work/nodeclub/middlewares/render.js:16:3)
在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5)
在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13)
在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7
在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12)
在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10)
在module.exports(/usr/local/work/nodeclub/middlewares/request_log.js:21:3)
在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5)
在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13)
在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7
在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12)
在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10)
在expressInit(/usr/local/work/nodeclub/node_modules/express/lib/middleware/init.js:40:5)
在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5)
在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13)
在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7
在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12)
在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10)
在查询时(/usr/local/work/nodeclub/node_modules/express/lib/middleware/query.js:45:5)
在Layer.handle [作为handle_request](/usr/local/work/nodeclub/node_modules/express/lib/router/layer.js:95:5)
在trim_prefix(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:317:13)
在/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:284:7
在Function.process_params(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:335:12)
在下一个(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:275:10)
在Function.handle(/usr/local/work/nodeclub/node_modules/express/lib/router/index.js:174:3)
在Function.handle(/usr/local/work/nodeclub/node_modules/express/lib/application.js:174:10)
在Server.app(/usr/local/work/nodeclub/node_modules/express/lib/express.js:39:9)
在Server.emit(events.js:210:5)
在parserOnIncoming(_http_server.js:745:12)
在HTTPParser.parserOnHeadersComplete(_http_common.js:115:17)
The text was updated successfully, but these errors were encountered: