Skip to content

opencode install fails with ENOENT for missing caveman-compress.md #426

@edvelhope

Description

@edvelhope

What happen
When installing the Caveman plugin for opencode using the command npx -y github:JuliusBrussee/caveman -- --only opencode, the installer throws an error because it tries to copy a file (caveman-compress.md) that does not exist in the package. The installation is partially successful (other files are copied), but the process exits with a failure message.

Expected
All required files for the opencode plugin should be installed without errors, including any command .md files.

Before/after example
Run the following command in a terminal:
npx -y github:JuliusBrussee/caveman -- --only opencode

The installer outputs:

opencode install failed: ENOENT: no such file or directory, copyfile '/home/edoardo/.npm/_npx/1915db09411464bc/node_modules/caveman-installer/src/plugins/opencode/commands/caveman-compress.md' -> '/home/edoardo/.config/opencode/commands/caveman-compress.md'

Platform

  • Opencode

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions