wangrongding / wechat-bot

🤖一个基于 WeChaty 结合 OpenAi ChatGPT / Kimi / 讯飞等Ai服务实现的微信机器人 ,可以用来帮助你自动回复微信消息,或者管理微信群/好友,检测僵尸粉等...
MIT License
5.16k stars 730 forks source link

run npm dev moudles报错 #129

Closed ToolRobot-1024 closed 6 months ago

ToolRobot-1024 commented 1 year ago

Error: An executablePath or channel must be specified for puppeteer-core QQ截图20230224173407

alannewlife commented 1 year ago

刚才也是报出了这个错误。 请问你解决了么?

ToolRobot-1024 commented 1 year ago

用wechaty-puppet-wechat4u ,这个是不需要安装puppeteer的,纯api请求安装依赖,保证wechaty-puppet-wechat4u版本为 1.13.12npm i wechaty-puppet-wechat4u --save修改 src/wechaty/index.js文件中的内容...// 初始化机器人export const bot = WechatyBuilder.build({  name: 'WechatEveryDay',  puppet: 'wechaty-puppet-wechat4u',})...然后正常运行即可发自我的 iPhone在 2023年3月1日,15:52,alannewlife @.***> 写道: 刚才也是报出了这个错误。 请问你解决了么?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

alannewlife commented 1 year ago

可以了。 但是api今天不通了。