The frontend are stuck at loading #430

Closed
opened 2026-02-21 17:27:09 -05:00 by yindo · 5 comments
Owner

Originally created by @lucasjinreal on GitHub (Aug 24, 2023).

image

Originally created by @lucasjinreal on GitHub (Aug 24, 2023). ![image](https://github.com/langgenius/dify/assets/21303438/10a94dd1-dbbe-44e1-bbfb-d6ef61bc23dc)
yindo added the 🙋‍♂️ question label 2026-02-21 17:27:09 -05:00
yindo closed this issue 2026-02-21 17:27:09 -05:00
Author
Owner

@crazywoola commented on GitHub (Aug 24, 2023):

Which version do you use? Cloud or CE?
How do you start the application, docker compose or source code?
Please provide detailed information for example the logs.

@crazywoola commented on GitHub (Aug 24, 2023): Which version do you use? Cloud or CE? How do you start the application, docker compose or source code? Please provide detailed information for example the logs.
Author
Owner

@lucasjinreal commented on GitHub (Aug 24, 2023):

I didn t using docker, I just run the web with npm run dev,
and I try to reuse the web with my openai-like server.

Is there any guide how to reuse users's own server?

@lucasjinreal commented on GitHub (Aug 24, 2023): I didn t using docker, I just run the web with `npm run dev`, and I try to reuse the web with my openai-like server. Is there any guide how to reuse users's own server?
Author
Owner

@crazywoola commented on GitHub (Aug 24, 2023):

They can not be separately used, you still need to run our backend service if you are trying to use the source code. See this you can start the backend service by following the instruction.
You need to config your .env which is .env.example in web/ as well. by default, you are accessing the cloud.dify.dev, in this case, you will get an error no doubt.

Video

@crazywoola commented on GitHub (Aug 24, 2023): They can not be separately used, you still need to run our backend service if you are trying to use the source code. [See this](https://github.com/langgenius/dify/blob/48a303b8e978ed497d4475f0ca614484ab97df80/api/README.md#L1) you can start the backend service by following the instruction. You need to config your `.env` which is `.env.example` in web/ as well. by default, you are accessing the cloud.dify.dev, in this case, you will get an error no doubt. [Video](https://www.xiaohongshu.com/explore/64d8e177000000001700cc93)
Author
Owner

@lucasjinreal commented on GitHub (Aug 24, 2023):

@crazywoola thanks, I sitll don't want using docker, I would like run it using conda, if I installed all dependencies, I just using backend serving url, copy to .env, then frontend can be deployed?

@lucasjinreal commented on GitHub (Aug 24, 2023): @crazywoola thanks, I sitll don't want using docker, I would like run it using conda, if I installed all dependencies, I just using backend serving url, copy to .env, then frontend can be deployed?
Author
Owner

@crazywoola commented on GitHub (Aug 24, 2023):

The frontend needs a proper api url to contact. So you need to edit the .env file according to your needs. I will close this, if you have further question you can reopen this.

@crazywoola commented on GitHub (Aug 24, 2023): The frontend needs a proper api url to contact. So you need to edit the .env file according to your needs. I will close this, if you have further question you can reopen this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#430