Skip to content

Instructions in /pkg /agent quickstart not working. #918

@3goats

Description

@3goats

Followed instructions in quickstart.

Clean build completed:

> runme-web@0.0.0 build:console /Users/cb/development/runme/runme/runme-web
> cd packages/react-console && tsc -p tsconfig.json && vite build

vite v6.3.5 building for production...
✓ 291 modules transformed.
dist/react-console.css     27.16 kB │ gzip:   5.06 kB
dist/react-console.mjs  2,513.82 kB │ gzip: 437.89 kB
dist/react-console.css     27.16 kB │ gzip:   5.06 kB
dist/react-console.cjs  1,513.69 kB │ gzip: 350.52 kB
✓ built in 3.73s

> runme-web@0.0.0 build:components /Users/cb/development/runme/runme/runme-web
> cd packages/react-components && tsc -b && vite build

vite v6.3.5 building for production...
✓ 419 modules transformed.
dist/react-components.css    728.71 kB │ gzip:  90.16 kB
dist/react-components.mjs  2,898.50 kB │ gzip: 536.19 kB
dist/react-components.css    728.71 kB │ gzip:  90.16 kB
dist/react-components.cjs  1,787.50 kB │ gzip: 436.66 kB
✓ built in 3.78s

> runme-web@0.0.0 build:app /Users/cb/development/runme/runme/runme-web
> cd packages/react-components && tsc -b tsconfig.app.json && vite build -c vite.config.app.ts

vite v6.3.5 building for production...
✓ 889 modules transformed.
dist/app/index.html      0.46 kB │ gzip:   0.31 kB
dist/app/index.css     728.71 kB │ gzip:  89.56 kB
dist/app/index.js    2,277.35 kB │ gzip: 590.13 kB
✓ built in 4.62s
 ►  ✓ Task build exited with code 0

Server is running:

runme agent serve
Writing JSON logs to [/Users/cc/.runme-agent/logs/raw/logs.2025-09-19T11:29:48.json]
2025-09-19T11:29:48.895+0100    INFO    application/app.go:100  OTLP HTTP endpoint not specified; skipping OTLP exporter setup
2025-09-19T11:29:48.898+0100    INFO    ai/agent.go:118 Using default system prompt
2025-09-19T11:29:48.898+0100    INFO    ai/agent.go:123 Using default shell tool description
2025-09-19T11:29:48.898+0100    INFO    ai/agent.go:138 Creating Agent  {"optionsError": "json: unsupported type: requestconfig.RequestOptionFunc"}
2025-09-19T11:29:48.898+0100    INFO    runnerv2service/service_sessions.go:17  running CreateSession in runnerService
2025-09-19T11:29:48.898+0100    DEBUG   runnerv2service/service_sessions.go:54  created session {"id": "01K5GRBS72W1XRC4VXBQHZ06ZA", "owl": false, "seed_env_len": 34}
2025-09-19T11:29:48.898+0100    INFO    server/server.go:104    Runner session created  {"sessionID": "01K5GRBS72W1XRC4VXBQHZ06ZA"}
2025-09-19T11:29:48.899+0100    INFO    server/server.go:267    Adding CORS support for protected routes        {"origins": ["http://localhost:5173", "http://localhost:3000", "http://localhost:8081"]}
2025-09-19T11:29:48.899+0100    INFO    server/server.go:277    OIDC is not configured; auth routes will not be registered
2025-09-19T11:29:48.899+0100    INFO    server/server.go:282    Setting up AI service   {"path": "/agent.v1.MessagesService/"}
2025-09-19T11:29:48.899+0100    INFO    server/auth.go:116      Adding CORS support     {"AllowedOrigins": ["http://localhost:5173", "http://localhost:3000", "http://localhost:8081"], "AllowCredentials": true, "AllowedMethods": ["HEAD", "GET", "POST", "PUT", "PATCH", "DELETE"], "AllowedHeaders": ["*"], "ExposedHeaders": ["Grpc-Status", "Grpc-Message", "Grpc-Status-Details-Bin"]}
2025-09-19T11:29:48.899+0100    INFO    server/server.go:294    Parser is nil; parser service is disabled
2025-09-19T11:29:48.899+0100    INFO    server/server.go:305    Setting up runner websocket handler     {"path": "/ws"}
2025-09-19T11:29:48.899+0100    INFO    server/server.go:308    Setting up runner service       {"path": "/runme.runner.v2.RunnerService/"}
2025-09-19T11:29:48.899+0100    INFO    server/auth.go:116      Adding CORS support     {"AllowedOrigins": ["http://localhost:5173", "http://localhost:3000", "http://localhost:8081"], "AllowCredentials": true, "AllowedMethods": ["HEAD", "GET", "POST", "PUT", "PATCH", "DELETE"], "AllowedHeaders": ["*"], "ExposedHeaders": ["Grpc-Status", "Grpc-Message", "Grpc-Status-Details-Bin"]}
2025-09-19T11:29:48.899+0100    INFO    server/server.go:329    Single page app is enabled
2025-09-19T11:29:48.899+0100    INFO    server/assets.go:28     Serving static assets   {"dir": "/Users/carl.bourne/development/runme/runme/web/dist"}
2025-09-19T11:29:48.899+0100    INFO    server/server.go:170    Starting http server    {"address": "0.0.0.0:8081"}
2025-09-19T11:29:48.899+0100    INFO    server/server.go:215    Starting non-TLS server

Navigated to non tls url http://localhost:8081

However getting this is browser:

failed to open index.html: open index.html: no such file or directory

I think the problem is that the static assets path is wrong "dir": "/Users/cb/development/runme/runme/web/dist"} but I'm not quite sure what it should be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions