-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file.type is not a function #78
Comments
Could you please try the latest version of the The FileBox has a breaking change between versions for the
See: Lines 434 to 442 in b345a22
|
Another way of thinking, can I solve it by reducing the version of file box? I want to solve the problem under 0.xx, and then try to migrate to 1.xx |
Of course. You can lock the FileBox version by
If you can set up a reproducible repo, I might be able to help by figuring the workable version out for you. |
When I used puppet-wxwork in wechaty version 0.62.1, I encountered an error:
TypeError: file.type is not a function
at PuppetService.messageSendFile (/Users/choogoo/workspace/wechaty-mqtt-link/node_modules/wechaty-puppet-service/dist/src/client/puppet-service.js:660:46)
I found the error code. Can you help me solve the problem of file-box?
I tried the file-box latest and next versions, and the error is the same.
The wechaty-puppet-service version is 0.21.11
When I try to skip the if judgment, the problem is solved. Is this the problem of file-box or wechaty-puppet-service?
The text was updated successfully, but these errors were encountered: