lobehub / lobe-chat

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

[Config Import Error] e.toISOString is not a function #6936

Closed skoa323 closed 1 week ago

skoa323 commented 1 week ago
{
  "code": "ImportError",
  "httpStatus": 0,
  "message": "e.toISOString is not a function"
}
lobehubbot commented 1 week ago

👀 @skoa323

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 1 week ago

Hey @skoa323! 👋 I'm here to help you with any bugs, questions, and to guide you on how to become a contributor. I'm Dosu, a bot designed to assist you while you wait for a human maintainer.

I found a similar open issue related to the "e.toISOString is not a function" error. This issue arises due to an incompatibility between LobeChat v1.37.2's pglite export solution and the regular import/export functionality. It occurs when importing configuration files, particularly when using Chrome or Firefox. The error is related to date handling, where the system expects date objects but encounters incompatible date formats. The development team is aware of this problem and is working on a new data import/export implementation to address it. To mitigate this issue, ensure that all date fields in your import data are properly formatted as JavaScript Date objects before attempting to import [1][2].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

lobehubbot commented 1 week ago

✅ @skoa323

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

lobehubbot commented 1 week ago

✅ @skoa323

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