You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 24, 2026. It is now read-only.
Huan LI edited this page Aug 18, 2018
·
1 revision
1. 'puppet' are incompatible.(version mismatch)
Types of property 'puppet' are incompatible.
error TS2345: Argument of type '{ profile: string; puppet: PuppetXXX; }' is not assignable to parameter of type 'WechatyOptions'.
error TS2345: Argument of type '{ profile: string; puppet: PuppetPuppeteer; }' is not assignable to parameter of type 'WechatyOptions'.
Types of property 'puppet' are incompatible.
Type 'PuppetPuppeteer' is not assignable to type '"default" | "wechaty-puppet-puppeteer" | "padchat" | "wechaty-puppet-ioscat" | "wechaty-puppet-mock" | "wechaty-puppet-padchat" | "wechaty-puppet-wechat4u" | Puppet | undefined'.
Type 'PuppetPuppeteer' is not assignable to type 'Puppet'.
Property 'options' is protected but type 'PuppetPuppeteer' is not a class derived from 'Puppet'.
The above error message identified that there's more than one wechaty-puppet module was installed.
To list all the wechaty-puppet modules that installed, use a npm ls wechaty-puppet command to list: