Closed forconz closed 3 years ago
PS E:\Test\wechaty-puppet-simplepad-demo> node -v v16.9.0
这个问题不解决,没办法付费买token啊
@forconz
麻烦你贴一下package.json的配置,并且尝试重新安装node_modules
我测试下来"wechaty": "^0.68.1"
(当前最新的wechaty版本)没有问题
@chatrbot 我用的demo自带的package.json,没有改动,直接npm i
@forconz
请尝试重新pull一次demo代码并且重新npm install
重新pull了demo,就好了
不能将类型“PuppetSimplePad”分配给类型“"wechaty-puppet-hostie" | "wechaty-puppet-puppeteer" | "wechaty-puppet-service" | "wechaty-puppet-mock" | "wechaty-puppet-wechat" | "wechaty-puppet-wechat4u" | "wechaty-puppet-padlocal" | ... 7 more ... | undefined”。 不能将类型“PuppetSimplePad”分配给类型“Puppet”。 属性“options”受保护,但类型“Puppet”并不是从“Puppet”派生的类。ts(2322)