Closed dchaofei closed 4 years ago
@dchaofei This issue is related to our PR at https://github.com/Chatie/grpc/pull/49 , which actually was introduced by yourself. ;-)
The reason for this problem is that the GRPC package name was changed between versions.
To get it worked, please upgrade the Wechaty to the newest version (0.39.5 or above) then I believe this issue will be solved.
The server can fix this problem by using the latest Chatie/grpc. :smiley:
When we update wechaty
to v0.39.5
, this bug has been fixed.
Thank you very much. @huan @dchaofei
0. Report Issue Guide
Please run the following command and check whether the problem has been fixed:
Please search in FAQ List first, and make sure your problem has not been solved before.
Please search in the issue first, and make sure your problem had not been reported before
1. Versions
What is your wechaty version? Answer:
What is your wechaty-puppet-donut version? Answer:
What is your node version? (run
node --version
) Answer:What os are you using Answer:
2. Describe the bug
Give a clear and concise description of what the bug is.
3. To Reproduce
This part is very important: if you can not provide any reproduce steps, then the problem will be very hard to be recognized.
Steps to reproduce the behavior:
4. Expected behavior
Give a clear and concise description of what you expected to happen.
5. Actual behavior
If applicable, add screenshots to help explain your problem. But do not paste log screenshots here.
6. Full Output Logs
Set env
WECHATY_LOG=silly
in order to set log level to silly, then we can get the full log (If you dosen't set log env, log level is info as default, we cannot get the full log)We need full log instead of log screenshot or log fragments!
Show Logs
```shell ~/work/wechaty-puppet-hostie on master! ⌚ 13:21:39 $ ts-node examples/ding-dong-bot.ts Puppet Version: Puppet#07. Additional context
github.com/chatie/grpc The
proto
library has recently been adjusted, so the server should use the latestproto
, and now the client will report an error if it uses the latestproto
.[bug]