为了账号安全,请及时绑定邮箱和手机立即绑定

注册时出现报错

TypeError: Cannot read property 'name' of undefined
   at exports.signup (E:\node学习项目\5435e0340001203100000000\movie\app\controllers\user.js:20:28)
   at Layer.handle [as handle_request] (E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\layer.js:95:5)
   at next (E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\route.js:137:13)
   at Route.dispatch (E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\route.js:112:3)
   at Layer.handle [as handle_request] (E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\layer.js:95:5)
   at E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\index.js:281:22
   at Function.process_params (E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\index.js:335:12)
   at next (E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\index.js:275:10)
   at E:\node学习项目\5435e0340001203100000000\movie\config\routes.js:18:5
   at Layer.handle [as handle_request] (E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\layer.js:95:5)
   at trim_prefix (E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\index.js:317:13)
   at E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\index.js:284:7
   at Function.process_params (E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\index.js:335:12)
   at next (E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\index.js:275:10)
   at logger (E:\node学习项目\5435e0340001203100000000\movie\node_modules\morgan\index.js:144:5)
   at Layer.handle [as handle_request] (E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\layer.js:95:5)
   at trim_prefix (E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\index.js:317:13)
   at E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\index.js:284:7
   at Function.process_params (E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\index.js:335:12)
   at next (E:\node学习项目\5435e0340001203100000000\movie\node_modules\express\lib\router\index.js:275:10)
   at E:\node学习项目\5435e0340001203100000000\movie\node_modules\express-session\index.js:489:7
   at tryCatcher (E:\node学习项目\5435e0340001203100000000\movie\node_modules\bluebird\js\release\util.js:16:23)

正在回答

0 回答

举报

0/150
提交
取消
node建站攻略(二期)——网站升级
  • 参与学习       51940    人
  • 解答问题       408    个

帮助你深入前后端开发留下的迷惑,为进一步自学打下基础

进入课程

注册时出现报错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信