Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank UI: Unhandled Promise Rejection: ReferenceError: Cannot access uninitialized variable. #386

Open
jmtatsch opened this issue Apr 7, 2024 · 6 comments · May be fixed by #666
Open

Comments

@jmtatsch
Copy link
Contributor

jmtatsch commented Apr 7, 2024

Describe the bug
current checkout simply shows a blank UI

This the javascript console:

Unhandled Promise Rejection: ReferenceError: Cannot access uninitialized variable.

This is the backend:

docker compose up
[+] Running 2/0
✔ Container devika-devika-backend-engine-1 Created 0.0s
✔ Container devika-devika-frontend-app-1 Created 0.0s
Attaching to devika-backend-engine-1, devika-frontend-app-1
devika-frontend-app-1 | $ vite dev --host
devika-backend-engine-1 | 24.04.07 07:42:40: root: INFO : Initializing Devika...
devika-backend-engine-1 | 24.04.07 07:42:40: root: INFO : Initializing Prerequisites Jobs...
devika-frontend-app-1 |
devika-frontend-app-1 | VITE v5.2.8 ready in 767 ms
devika-frontend-app-1 |
devika-frontend-app-1 | ➜ Local: http://localhost:3000/
devika-frontend-app-1 | ➜ Network: http://172.27.0.3:3000/
devika-backend-engine-1 | 24.04.07 07:42:45: root: INFO : Loading sentence-transformer BERT models...
devika-backend-engine-1 | 24.04.07 07:42:48: root: INFO : BERT model loaded successfully.
devika-backend-engine-1 | 24.04.07 07:42:50: root: INFO : Ollama available
devika-backend-engine-1 | huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
devika-backend-engine-1 | To disable this warning, you can either:
devika-backend-engine-1 | - Avoid using tokenizers before the fork if possible
devika-backend-engine-1 | - Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
devika-backend-engine-1 | huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
devika-backend-engine-1 | To disable this warning, you can either:
devika-backend-engine-1 | - Avoid using tokenizers before the fork if possible
devika-backend-engine-1 | - Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
devika-backend-engine-1 | 24.04.07 07:42:52: root: INFO : Devika is up and running!

@jmtatsch
Copy link
Contributor Author

jmtatsch commented Apr 7, 2024

It's a safari 17.1.2 on macosx issue. On chrome it just works.

@vineetdaniel
Copy link

for me doesn't work on any browser.

@NinjaEde
Copy link

Refer to: #426

@obliviousz
Copy link
Contributor

Fix white ui issues:
https://youtu.be/3ULryo20mdc?si=5UoES_wVMxQTdrSq

@ARajgor
Copy link
Collaborator

ARajgor commented Apr 14, 2024

currently fix #295
you have to try it without docker. docker files isn't up to date

@Polygons1
Copy link

same here, without Docker

erkinalp added a commit to erkinalp/devika that referenced this issue Dec 18, 2024
- Add loading and error states for blank UI (stitionai#386)
- Fix mobile layout and responsive design (stitionai#538)
- Improve widget components for mobile devices
- Add proper truncation and overflow handling
- Enhance touch scrolling support
- Implement responsive sidebar layout

Co-Authored-By: Erkin Alp Güney <[email protected]>
@erkinalp erkinalp linked a pull request Dec 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants