Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
lijiarui opened this issue Nov 18, 2018 · 1 comment
Closed

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

lijiarui opened this issue Nov 18, 2018 · 1 comment
Labels
question Further information is requested

Comments

@lijiarui
Copy link
Member

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
Copy link
Member

huan commented Dec 29, 2018

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

@huan huan closed this as completed Jun 4, 2020
@huan huan added the question Further information is requested label Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants