Skip to content

Cannot 'lk agent create' (v2.5.5 on Windows) #683

@DanMakingWithAI

Description

@DanMakingWithAI
$ lk agent create
WARNING: config file C:\Users\danie/.livekit/cli-config.yaml should have permissions 600
WARNING: config file C:\Users\danie/.livekit/cli-config.yaml should have permissions 600
Using default project [metis]
Creating new agent
Using secrets file [.env]
Detected project type [python.pip]
open examples\python.pip.Dockerfile: file does not exist

I primarily use Git bash for windows. In cmd, I get:

>lk agent create
WARNING: config file C:\Users\danie/.livekit/cli-config.yaml should have permissions 600
WARNING: config file C:\Users\danie/.livekit/cli-config.yaml should have permissions 600
Using default project [metis]
Creating new agent
Detected project type [python.pip]
open examples\python.pip.Dockerfile: file does not exist

I notice that via cmd it doesn't seem to find/ask about .env files

I don't know the full location of the Dockerfile file it thinks it wants to open here, but I don't have that file in any place I can find.

I followed the winget instructions to install the LiveKit CLI

Agent runs fine but I can't deploy to cloud without a working lk

I get similar error messages with lk agent dockerfile except it doesn't bother to ask me to choose the project or .env (either via git bash or cmd)

(Given the filename match to the python.pip project type, I'll try uv since I've been meaning to for ages anyway, but that doesn't negate the issue.)

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