Welcome to wechat-bot Discussions! #3
Replies: 8 comments 9 replies
-
你好,我在运行 npm ERR! A complete log of this run can be found in: |
Beta Was this translation helpful? Give feedback.
-
切换下镜像源,用我的 prm-cli 也很方便,你这个应该是依赖没正常安装 |
Beta Was this translation helpful? Give feedback.
-
跑起来了 但是没有二维码 貌似还报错了 |
Beta Was this translation helpful? Give feedback.
-
11:19:54 ERR PuppetWeChatBridge start() exception: Error: An |
Beta Was this translation helpful? Give feedback.
-
Hello everyone I'm new here |
Beta Was this translation helpful? Give feedback.
-
No veo errores evidentes en el código que has proporcionado. La sintaxis de la función getChatGPTReply parece correcta, y la lógica de la función también parece estar implementada de manera adecuada. Sin embargo, hay algunos aspectos que se podrían mejorar en el código: La función getChatGPTReply usa el objeto env para obtener valores de variables de entorno, pero no maneja errores que puedan ocurrir al cargar el archivo .env. Una forma de manejar estos errores sería utilizando un bloque try-catch en torno a la llamada a dotenv.config(). |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions