wechaty / puppet-mock

Puppet Mocker for Wechaty (& A Puppet Template Starter)
https://paka.dev/npm/wechaty-puppet-mock
Apache License 2.0
45 stars 14 forks source link

Using mock to run wechaty will install puppeteer as default #14

Closed lijiarui closed 4 years ago

lijiarui commented 5 years ago

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
huan commented 5 years ago

You should use WECHATY_PUPPET=wechaty-puppet-mock instead of WECHATY_PUPPET=mock because it's outdated.