forked from wechaty/puppet-lark
-
Notifications
You must be signed in to change notification settings - Fork 7
常见问题列表
chengeng edited this page Aug 22, 2022
·
1 revision
本文罗列了在使用 Engine 过程中,不同平台上出现的一些比较常见的问题,希望能够帮助你解决问题。
一旦出现错误,建议详细阅读 ERROR 错误信息,会有助于解决问题。
如果 npm install 安装失败且无法确定原因,建议进行如下操作:
a) 检查 node 版本
$ node -v
v16.13.0
- 推荐 node 版本 是
16 lts
。如果你使用的版本过低(<16)或过高(>=16),可能出现未知问题。
b) 再完全删除 node_modules 目录重新运行 npm install
点击查看错误日志
> [email protected] demo /wechaty-puppet-engine-demo
> ts-node main.ts "-"
19:37:15 INFO [PuppetEngine] Server is running on 8089
19:37:16 INFO [PuppetEngine] login success: 骰王
19:37:16 INFO
============================================================
Welcome to Wechaty Engine puppet!
- puppet-Engine version: 0.0.0
============================================================
19:37:19 INFO set download all day[EOF]
如果运行npm run demo
后,正常情况会提示扫码登录。如果一直卡在 INFO TestBot started,二维码没有出现。可能有几个原因:
如果没有注入成功,请多尝试几次,直到控制台显示注入成功。如注入还有问题,建议去各平台论坛去寻找一下解决方案,本项目只负责wechaty-puppet-engine的相关问题
推荐 node 版本 是 16 lts
。如果你使用的版本过低(<16)或过高(>16),可能出现未知问题。检查 node 版本:
$ node -v
v16.13.0
如果您还遇到其他问题,可以通过如下方法向我们反馈:
Don't be evil
GETTING STARTED
- How to Download Dll
- Getting Started with TypeScript/JavaScript(RECOMMENDED)
- Getting Started with Python/Java/Go
REFERENCE
ADVANCED GUIDES