ChatGPT-wechat-bot icon indicating copy to clipboard operation
ChatGPT-wechat-bot copied to clipboard

ChatGPT for wechat https://github.com/AutumnWhj/ChatGPT-wechat-bot

Results 193 ChatGPT-wechat-bot issues
Sort by recently updated
recently updated
newest added

``` Error: ChatGPT failed to refresh auth token. Error: 403 Forbidden at ChatGPTAPI.refreshAccessToken (file:///code/node_modules/chatgpt/build/index.js:246:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async ChatGPTAPI.ensureAuth (file:///code/node_modules/chatgpt/build/index.js:212:12) at async getChatGPTReply (file:///code/lib/bundle.esm.js:14:5) at async replyMessage (file:///code/lib/bundle.esm.js:29:23) ```...

为什么我在进行 node lib/bundle.esm.js 时会报如下的错误? 无论是是在我的电脑上(Windows)还是服务器上(树莓派)都是这样 ``` root@raspberrypi:/www/wwwroot/ChatGPT-wechat-bot# node lib/bundle.esm.js file:///www/wwwroot/ChatGPT-wechat-bot/node_modules/wechaty-puppet-service/dist/esm/src/client/puppet-service.js:1148 timestamp ??= 0; ^^^ SyntaxError: Unexpected token '??=' ```

虚拟机上Linux CentOS Linux release 7.5.1804 (Core)系统 X86架构64bit 刚下载的代码库,运行构建的命令是docker build --pull --rm -f "Dockerfile" -t wechatbot:latest "." --platform linux/amd64 出现报错,如下 ![image](https://user-images.githubusercontent.com/67095458/206862081-a075f3f4-7b40-4508-ac72-4efd81b9175a.png) ![image](https://user-images.githubusercontent.com/67095458/206862103-09a2815b-9a6c-43e6-8a81-7d4365384d8e.png) ![image](https://user-images.githubusercontent.com/67095458/206862032-956e472a-3498-4b3e-ac75-f12f5a806391.png) 最后报错是OpenPGP data found ,大佬知道问题吗

可以在dockerhub上提供镜像吗,本地build网络太费劲了,容易出错,如果能在dockerhub上上传好就更好了

enhancement

![image](https://user-images.githubusercontent.com/86348939/206864066-5ae79b59-e2f9-42d1-b537-2f9ceff32a8c.png)

docker build --pull --rm -f "Dockerfile" -t wechatbot:latest "." --platform linux/amd64 运行这个build的命令一直卡着不动,是需要服务器能访问国外网络?

为什么就只有重新启动docker之后几分钟能响应,之后就不动了

![image](https://user-images.githubusercontent.com/94523036/206853284-f8d964b1-828b-4b1f-988d-aa198d33cd37.png)

./src/index.ts → lib/bundle.esm.js... created lib/bundle.esm.js in 1.9s 21:16:58 ERR PuppetWeChatBridge start() exception: Error: An `executablePath` or `channel` must be specified for `puppeteer-core` 21:16:58 ERR PuppetWeChat initBridge() exception: An `executablePath` or...