Closed 9cat closed 2 years ago
(node:1915) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'setMessage' of undefined
at PuppetPadlocal._onSendMessage (/root/projects/wechat-messager/node_modules/wechaty-puppet-padlocal/src/puppet-padlocal.ts:1524:27)
at PuppetPadlocal.messageSendText (/root/projects/wechat-messager/node_modules/wechaty-puppet-padlocal/src/puppet-padlocal.ts:1004:16)
at runMicrotasks (--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 21)
upgrade to nodejs 16+ , solved.
ERR [PadLocalClient] error while syncing onpush: VError: [tid:80177861] request has been cancelled for reason: CLIENT_ERROR: [tid:80177861] Exception while handling wechat request: longlink reset
at Request._failAllPendingRequest (/mnt/pkg/puppet-padlocal/node_modules/padlocal-client-ts/src/Request.ts:334:15)
at Request.error (/mnt/pkg/puppet-padlocal/node_modules/padlocal-client-ts/src/Request.ts:347:10)
at Request.
node16. But he can't seem to. i try --unhandled-rejections
After successfully Scanned->Confirmed->Login,
06:15:31 ERR [PadLocalClient] error while syncing onpush: VError: [tid:0c1541a7] request has been cancelled for reason: CLIENT_ERROR: [tid:0c1541a7] Exception while handling wechat request: longlink reset at Request._failAllPendingRequest (/root/projects/wechat-messager/node_modules/padlocal-client-ts/src/Request.ts:334:15) at Request.error (/root/projects/wechat-messager/node_modules/padlocal-client-ts/src/Request.ts:347:10) at Request. (/root/projects/wechat-messager/node_modules/padlocal-client-ts/src/Request.ts:221:16)
at Generator.throw ()
at rejected (/root/projects/wechat-messager/node_modules/padlocal-client-ts/dist/Request.js:6:65)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:95:5)
06:15:34 INFO [PuppetPadlocal] start login with type: AutoLogin
06:15:40 INFO [PuppetPadlocal] start login with type: QrLogin