Skip to content
SuperChang edited this page Nov 19, 2019 · 1 revision

Welcome to the wechaty-puppet-padplus wiki!

How to install wechaty-puppet-padplus

1. Init

check your Node version first

node --version // v10.16.0 (BTW v10.0.0 < version < v11.0.0 is better)

Create a folder for your bot.

mkdir my-padplus-bot && cd my-padplus-bot

npm init -y

If you like to use TypeScript, this command will generate tsconfig.json for you.

tsc --init

2. Install wechaty

npm install wechaty@next

3. Install wechaty-puppet-padplus

Notice: wechaty-puppet-padplus still in alpha test period, so we keep updating the package, you should install the latest packge by using @latest until we release the stable package.

npm install wechaty-puppet-padplus@latest

4. Install other dependency

There's no need to install wechaty-puppet in my-padplus-bot

npm install qrcode-terminal

5. Re-Install all related package

If step 1~4 can not help you install successfully, please try this suggestion, otherwise just skip it please.

rm -rf node_modules package-lock.json
npm install