Using mock to run wechaty will install puppeteer as default
lijiarui opened this issue · comments
Related log as follows, I think it should not install puppeteer when we use mock to start.
➜ wechaty-getting-started git:(master) ✗ WECHATY_PUPPET=mock npm start
> wechaty-getting-started@0.1.0 start /Users/jiaruili/git/wechaty-getting-started
> node examples/starter-bot.js
10:28:42 INFO Wechaty <mock> start() v0.22.4 is starting...
10:28:42 INFO PuppetManager install(mock@latest) please wait ...
npm:
> puppeteer@1.10.0 install /Users/jiaruili/git/wechaty-getting-started/node_modules/wechaty/node_modules/puppeteer
> node install.js
You should use WECHATY_PUPPET=wechaty-puppet-mock
instead of WECHATY_PUPPET=mock
because it's outdated.