求助
zoomlyly opened this issue · comments
config文件在哪?
加上config后会报这样的错误
this.token = token.token;
^
TypeError: Cannot read property 'token' of undefined
at Handler.setToken (/home/ubuntu/workspace/node_modules/wechat/lib/wechat.js:298:23)
at middleware (/home/ubuntu/workspace/node_modules/wechat/lib/wechat.js:496:14)
at Object. (/home/ubuntu/workspace/controllers/wechat_mp.js:30:17)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/ubuntu/workspace/app.js:5:10)