lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
41.25k stars 9.37k forks source link

[Bug] 报错 #3807

Closed Mabisi closed 1 week ago

Mabisi commented 2 weeks ago

📦 Environment

Vercel

📌 Version

v1.15.18

💻 Operating System

Windows

🌐 Browser

Chrome

🐛 Bug Description

报错! image

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

lobehubbot commented 2 weeks ago

👀 @Mabisi

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

dosubot[bot] commented 2 weeks ago

I found some similar discussions that might be relevant to your issue:

  1. [Q&A] build之后 启动 白屏 Application error: a client-side exception has occurred (see the browser console for more information).[Bug] - This issue was related to a local antd version problem and was resolved by reinstalling dependencies [1].
  2. [Bug] 打开页面会提示3个错误,如下 - This issue seemed to be a one-time occurrence and did not persist [2].

Regarding the "Minified React error #185," there are known issues and recent changes in the lobe-chat codebase related to React or its dependencies. Specifically, in version 0.159.1, antd was pinned to version 5.17.0 to fix a build error [3].

Additionally, ensure that your deployment environment on Vercel is correctly configured. The next.config.js file or environment variables might be improperly set. Make sure:

  1. The NODE_ENV is set to production during the build.
  2. The ANALYZE environment variable is not set unless you are specifically analyzing the build.
  3. All dependencies are correctly installed and compatible with the versions specified [4].

The version of React being used in the lobe-chat v1.15.18 release is ^18.3.1 [4]. Ensure that all dependencies are compatible with this version.

To continue talking to Dosu, mention @dosu.

arvinxx commented 2 weeks ago

请给出更详细的抛错说明

lobehubbot commented 2 weeks ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Please give a more detailed explanation of the error

lobehubbot commented 1 week ago

👋 @{{ author }}
Since the issue was labeled with 🤔 Need Reproduce, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.\ 由于该 issue 被标记为需要更多信息,却 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。

lobehubbot commented 1 week ago

✅ @Mabisi

This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。