Skip to content

ENAMETOOLONG: name too long, uv_spawn on Windows after recent update #22540

@flben233

Description

@flben233

Description

After updating to 1.4.4, I encounter the error:

ENAMETOOLONG: name too long, uv_spawn
syscall: "uv_spawn",
  errno: -36,
  code: "ENAMETOOLONG"

    at spawn (node:child_process:679:35)
    at spawn (node:child_process:14:39)
    at dx (B:/~BUN/root/chunk-4j8x370p.js:2:162788)
    at <anonymous> (B:/~BUN/root/chunk-4j8x370p.js:22:18174)
    at ~effect/Effect/evaluate (B:/~BUN/root/chunk-bbwtb9hd.js:25:5565)
    at runLoop (B:/~BUN/root/chunk-bbwtb9hd.js:25:2049)
    at evaluate (B:/~BUN/root/chunk-bbwtb9hd.js:25:1439)
    at <anonymous> (B:/~BUN/root/chunk-bbwtb9hd.js:25:5604)
    at <anonymous> (B:/~BUN/root/chunk-bbwtb9hd.js:27:5753)

Plugins

no

OpenCode version

1.4.4

Steps to reproduce

  1. Open Windows Terminal and input "Opencode".
  2. Enter "hi" to the text input area and click Enter

Screenshot and/or share link

Image

Operating System

Windows 10 22H2

Terminal

Windows Terminal

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwindows

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions