meishubao-front git:(main) ✗ npm run build:bot && npm run start:bot
> meishubao-front@0.1.0 build:bot
> tsc -p tsconfig.bot.json
> meishubao-front@0.1.0 start:bot
> node dist/wechaty-bot.js
(node:32304) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
16:29:04 INFO PuppetSkeleton start()
16:29:04 INFO PuppetService start() instanciating GrpcManager ...
16:29:04 INFO PuppetService start() instanciating GrpcManager ... done
16:29:04 INFO PuppetService start() setting up bridge grpc event stream ...
16:29:04 INFO PuppetService start() setting up bridge grpc event stream ... done
16:29:04 INFO PuppetService start() starting grpc manager...
16:29:04 WARN last event was 1722587344.107 seconds ago, will not request event cache
16:29:04 WARN GrpcManager initClient() TLS: disabled (INSECURE)
16:29:04 INFO GrpcManager startStream() connecting event stream with account 1688856850455358 and seq undefined
GError: 1 CANCELLED: Call cancelled
at callErrorFromStatus (/Users/a08030288/workd/meishubao-front/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
at Object.onReceiveStatus (/Users/a08030288/workd/meishubao-front/node_modules/@grpc/grpc-js/build/src/client.js:193:76)
at Object.onReceiveStatus (/Users/a08030288/workd/meishubao-front/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:360:141)
at Object.onReceiveStatus (/Users/a08030288/workd/meishubao-front/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:323:181)
at /Users/a08030288/workd/meishubao-front/node_modules/@grpc/grpc-js/build/src/resolving-call.js:129:78
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
at ServiceClientImpl.makeUnaryRequest (/Users/a08030288/workd/meishubao-front/node_modules/@grpc/grpc-js/build/src/client.js:161:32)
at ServiceClientImpl.start (/Users/a08030288/workd/meishubao-front/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
at node:internal/util:430:21
at new Promise (<anonymous>)
at bound (node:internal/util:416:12)
at GrpcManager.start (/Users/a08030288/workd/meishubao-front/node_modules/@juzi/wechaty-puppet-service/dist/cjs/src/client/grpc-manager.js:135:32)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async PuppetService.onStart (/Users/a08030288/workd/meishubao-front/node_modules/@juzi/wechaty-puppet-service/dist/cjs/src/client/puppet-service.js:134:9)
at async PuppetService.start (/Users/a08030288/workd/meishubao-front/node_modules/state-switch/dist/cjs/src/service-ctl/service-ctl.js:65:17)
at async PuppetService.start (/Users/a08030288/workd/meishubao-front/node_modules/@juzi/wechaty-puppet/dist/cjs/src/mixins/service-mixin.js:21:13) {
code: 1,
details: 'Call cancelled'
}
16:29:06 WARN ServiceCtl<PuppetServiceMixin> stop() found that is starting...
16:29:06 WARN ServiceCtl<PuppetServiceMixin> stop() found that is starting, waiting stable ... (max 5 seconds)
Describe the bug 代码
报错
Info
To Reproduce
Steps to reproduce the behavior:
npm run build:bot && npm run start:bot
Screenshots