Skip to content

bot.logonoff()报错【static puppet not found for Wechaty】 #1878

@losetime

Description

@losetime

1. Versions

  • What is your wechaty version?
    Answer:0.29.5,0.28.3,0.22.1

  • Which puppet are you using for wechaty? (padchat/puppeteer/padpro/...)
    Answer: puppeteer

  • What is your wechaty-puppet-XXX(padchat/puppeteer/) version?
    Answer: 0.18.2

  • What is your node version? (run node --version)
    Answer: 10.15.1,12.13.1

  • What os are you using
    Answer: windows

2. Describe the bug

当前我想知道微信web的登录状态,所以使用bot.logonoff()这个方法,但是总是会报出【static puppet not found for Wechaty】这个错误,当前我只在这个方法中遇到错误,我试了三个版本的wechaty,依旧如此。写法也是依照issue #1217中写的,并且试了官方给的例子也是如此
image
image

4. Expected behavior

bot.logonoff() 返回true或false

7. Additional context

node, koa2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions