创建自己的Wechaty Hostie令牌报错
Created by: goldssss
创建自己的Wechaty Hostie令牌
启动命令如下
export WECHATY_HOSTIE_PORT=8788
export WECHATY_PUPPET=wechaty-puppet-puppeteer export WECHATY_LOG=verbose
docker run
--rm
-ti
-e WECHATY_LOG
-e WECHATY_PUPPET
-e WECHATY_HOSTIE_PORT
-e WECHATY_TOKEN
-p "$WECHATY_HOSTIE_PORT:$WECHATY_HOSTIE_PORT"
wechaty/wechaty
错误日志:
11:11:12 VERB StateSwitch off(true) <- (pending) Error: no page at Bridge. (/wechaty/node_modules/wechaty-puppet-puppeteer/src/bridge.ts:335:13) at Generator.next () at /wechaty/node_modules/wechaty-puppet-puppeteer/dist/src/bridge.js:27:71 at new Promise () at __awaiter (/wechaty/node_modules/wechaty-puppet-puppeteer/dist/src/bridge.js:23:12) at Bridge.stop (/wechaty/node_modules/wechaty-puppet-puppeteer/dist/src/bridge.js:271:16) at PuppetPuppeteer. (/wechaty/node_modules/wechaty-puppet-puppeteer/src/puppet-puppeteer.ts:230:25) at Generator.next () at /wechaty/node_modules/wechaty-puppet-puppeteer/dist/src/puppet-puppeteer.js:26:71 at new Promise () at __awaiter (/wechaty/node_modules/wechaty-puppet-puppeteer/dist/src/puppet-puppeteer.js:22:12) at PuppetPuppeteer.stop (/wechaty/node_modules/wechaty-puppet-puppeteer/dist/src/puppet-puppeteer.js:122:16) at PuppetPuppeteer. (/wechaty/node_modules/wechaty-puppet-puppeteer/src/puppet-puppeteer.ts:202:18) at Generator.throw () at rejected (/wechaty/node_modules/wechaty-puppet-puppeteer/dist/src/puppet-puppeteer.js:24:65) at processTicksAndRejections (internal/process/task_queues.js:97:5) 11:11:12 ERR Wechaty start() exception: no page 11:11:12 VERB Wechaty stop() v0.48.13 is stopping ... 11:11:12 VERB StateSwitch off(true) <- (true) 11:11:12 VERB StateSwitch off(pending) <- (false)