Skip to content

UI Frontend does not start (bootloop) #1

Description

@Wu-Wu

Really nice project you started! There is some problem with frontend - it does not start. I can't figure out whats wrong.
I've built backend/frontend images locally and point them as image for containers.

$ docker compose up ui-backend
ui-frontend  |
ui-frontend  | > frontend@0.0.0 dev
ui-frontend  | > vite --host
ui-frontend  |
ui-frontend  |
ui-frontend  |   VITE v7.3.1  ready in 987 ms
ui-frontend  |
ui-frontend  |   ➜  Local:   http://localhost:5173/
ui-frontend  |   ➜  Network: http://172.18.0.23:5173/
ui-frontend  | /app/node_modules/esbuild/lib/main.js:974
ui-frontend  |                   reject(new Error(error2));
ui-frontend  |                          ^
ui-frontend  |
ui-frontend  | Error: Error during dependency optimization:
ui-frontend  |
ui-frontend  | The service was stopped
ui-frontend  |     at /app/node_modules/esbuild/lib/main.js:974:26
ui-frontend  |     at responseCallbacks.<computed> (/app/node_modules/esbuild/lib/main.js:603:9)
ui-frontend  |     at Socket.afterClose (/app/node_modules/esbuild/lib/main.js:594:28)
ui-frontend  |     at Socket.emit (node:events:531:35)
ui-frontend  |     at endReadableNT (node:internal/streams/readable:1698:12)
ui-frontend  |     at process.processTicksAndRejections (node:internal/process/task_queues:89:21)
ui-frontend  |
ui-frontend  | Node.js v22.22.3
ui-frontend exited with code 1 (restarting)

Here is info about docker:

$ docker version
Client: Docker Engine - Community
 Version:           29.4.1
 API version:       1.54
 Go version:        go1.26.2
 Git commit:        055a478
 Built:             Mon Apr 20 16:32:52 2026
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          29.4.1
  API version:      1.54 (minimum version 1.40)
  Go version:       go1.26.2
  Git commit:       6c91b92
  Built:            Mon Apr 20 16:32:52 2026
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v2.2.3
  GitCommit:        77c84241c7cbdd9b4eca2591793e3d4f4317c590
 runc:
  Version:          1.3.5
  GitCommit:        v1.3.5-0-g488fc13e
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions