wangrongding / wechat-bot

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

运行报错 #106

Closed lydlovezjr closed 3 months ago

lydlovezjr commented 1 year ago

15:51:11 ERR PuppetWeChatBridge start() exception: Error: An executablePath or channel must be specified for puppeteer-core 15:51:11 ERR PuppetWeChat initBridge() exception: An executablePath or channel must be specified for puppeteer-core 15:51:11 ERR PuppetWeChat initBridge() this.bridge.stop() rejection: Error: no page GError: An executablePath or channel must be specified for puppeteer-core at assert (D:\ChatGpt\wechat-bot\node_modules\puppeteer-core\lib\cjs\puppeteer\util\assert.js:28:15) at ChromeLauncher.launch (D:\ChatGpt\wechat-bot\node_modules\puppeteer-core\lib\cjs\puppeteer\node\ChromeLauncher.js:92:36) at PuppeteerNode.launch (D:\ChatGpt\wechat-bot\node_modules\puppeteer-core\lib\cjs\puppeteer\node\PuppeteerNode.js:154:105) at PuppeteerExtra.launch (D:\ChatGpt\wechat-bot\node_modules\puppeteer-extra\dist\index.cjs.js:128:41) at async Bridge.initBrowser (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet-wechat/dist/esm/src/bridge.js:109:23) at async Bridge.start (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet-wechat/dist/esm/src/bridge.js:48:28) at async PuppetWeChat.initBridge (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet-wechat/dist/esm/src/puppet-wechat.js:176:13) at async PuppetWeChat.onStart (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet-wechat/dist/esm/src/puppet-wechat.js:69:23) at async PuppetWeChat.start (file:///D:/ChatGpt/wechat-bot/node_modules/state-switch/dist/esm/src/service-ctl/service-ctl.js:62:17) at async PuppetWeChat.start (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet/dist/esm/src/mixins/service-mixin.js:18:13) { code: 2, details: 'Error: An executablePath or channel must be specified for puppeteer-core\n' + ' at assert (D:\ChatGpt\wechat-bot\node_modules\puppeteer-core\lib\cjs\puppeteer\util\assert.js:28:15)\n' + ' at ChromeLauncher.launch (D:\ChatGpt\wechat-bot\node_modules\puppeteer-core\lib\cjs\puppeteer\node\ChromeLauncher.js:92:36)\n' + ' at PuppeteerNode.launch (D:\ChatGpt\wechat-bot\node_modules\puppeteer-core\lib\cjs\puppeteer\node\PuppeteerNode.js:154:105)\n' + ' at PuppeteerExtra.launch (D:\ChatGpt\wechat-bot\node_modules\puppeteer-extra\dist\index.cjs.js:128:41)\n' + ' at async Bridge.initBrowser (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet-wechat/dist/esm/src/bridge.js:109:23)\n' + ' at async Bridge.start (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet-wechat/dist/esm/src/bridge.js:48:28)\n' + ' at async PuppetWeChat.initBridge (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet-wechat/dist/esm/src/puppet-wechat.js:176:13)\n' + ' at async PuppetWeChat.onStart (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet-wechat/dist/esm/src/puppet-wechat.js:69:23)\n' + ' at async PuppetWeChat.start (file:///D:/ChatGpt/wechat-bot/node_modules/state-switch/dist/esm/src/service-ctl/service-ctl.js:62:17)\n' + ' at async PuppetWeChat.start (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet/dist/esm/src/mixins/service-mixin.js:18:13)' }

DavidWanBYS commented 1 year ago

15:51:11 ERR PuppetWeChatBridge start() exception: Error: An executablePath or channel must be specified for puppeteer-core 15:51:11 ERR PuppetWeChat initBridge() exception: An executablePath or channel must be specified for puppeteer-core 15:51:11 ERR PuppetWeChat initBridge() this.bridge.stop() rejection: Error: no page GError: An executablePath or channel must be specified for puppeteer-core at assert (D:\ChatGpt\wechat-bot\node_modules\puppeteer-core\lib\cjs\puppeteer\util\assert.js:28:15) at ChromeLauncher.launch (D:\ChatGpt\wechat-bot\node_modules\puppeteer-core\lib\cjs\puppeteer\node\ChromeLauncher.js:92:36) at PuppeteerNode.launch (D:\ChatGpt\wechat-bot\node_modules\puppeteer-core\lib\cjs\puppeteer\node\PuppeteerNode.js:154:105) at PuppeteerExtra.launch (D:\ChatGpt\wechat-bot\node_modules\puppeteer-extra\dist\index.cjs.js:128:41) at async Bridge.initBrowser (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet-wechat/dist/esm/src/bridge.js:109:23) at async Bridge.start (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet-wechat/dist/esm/src/bridge.js:48:28) at async PuppetWeChat.initBridge (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet-wechat/dist/esm/src/puppet-wechat.js:176:13) at async PuppetWeChat.onStart (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet-wechat/dist/esm/src/puppet-wechat.js:69:23) at async PuppetWeChat.start (file:///D:/ChatGpt/wechat-bot/node_modules/state-switch/dist/esm/src/service-ctl/service-ctl.js:62:17) at async PuppetWeChat.start (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet/dist/esm/src/mixins/service-mixin.js:18:13) { code: 2, details: 'Error: An executablePath or channel must be specified for puppeteer-core\n' + ' at assert (D:\ChatGpt\wechat-bot\node_modules\puppeteer-core\lib\cjs\puppeteer\util\assert.js:28:15)\n' + ' at ChromeLauncher.launch (D:\ChatGpt\wechat-bot\node_modules\puppeteer-core\lib\cjs\puppeteer\node\ChromeLauncher.js:92:36)\n' + ' at PuppeteerNode.launch (D:\ChatGpt\wechat-bot\node_modules\puppeteer-core\lib\cjs\puppeteer\node\PuppeteerNode.js:154:105)\n' + ' at PuppeteerExtra.launch (D:\ChatGpt\wechat-bot\node_modules\puppeteer-extra\dist\index.cjs.js:128:41)\n' + ' at async Bridge.initBrowser (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet-wechat/dist/esm/src/bridge.js:109:23)\n' + ' at async Bridge.start (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet-wechat/dist/esm/src/bridge.js:48:28)\n' + ' at async PuppetWeChat.initBridge (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet-wechat/dist/esm/src/puppet-wechat.js:176:13)\n' + ' at async PuppetWeChat.onStart (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet-wechat/dist/esm/src/puppet-wechat.js:69:23)\n' + ' at async PuppetWeChat.start (file:///D:/ChatGpt/wechat-bot/node_modules/state-switch/dist/esm/src/service-ctl/service-ctl.js:62:17)\n' + ' at async PuppetWeChat.start (file:///D:/ChatGpt/wechat-bot/node_modules/wechaty-puppet/dist/esm/src/mixins/service-mixin.js:18:13)' } 和我的错误一样,使用prm换了taobao源也没用

OnePieceJoker commented 1 year ago

看看#54