Skip to content

[BUG] Failed to initialize playwright serviceΒ #26

@edenreich

Description

@edenreich

Summary

The released artifact container throws the following error when starting up:

playwright-agent-1       | 2025-09-22T01:26:32.802Z     FATAL   playwright-agent/main.go:52     failed to initialize playwright service {"error": "failed to ensure playwright installation: failed to install playwright browsers: could not install driver: could not install browsers: fork/exec /root/.cache/ms-playwright-go/1.52.0/node: no such file or directory"}
playwright-agent-1       | main.main
playwright-agent-1       |      github.com/inference-gateway/playwright-agent/main.go:52
playwright-agent-1       | runtime.main
playwright-agent-1       |      runtime/proc.go:285
playwright-agent-1 exited with code 1
playwright-agent-1 exited with code 1
playwright-agent-1 exited with code 1
playwright-agent-1 exited with code 1
playwright-agent-1 exited with code 1
playwright-agent-1 exited with code 1
playwright-agent-1 exited with code 1
playwright-agent-1 exited with code 1

Steps to Reproduce

  1. Run the container from the last release
  2. See this error

Expected Behavior

I expect the container to run soothly and wait for clients connections.

Actual Behavior

The container exits immediately because it cannot install a driver

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleased

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions