Description
Installing via curl -fsSL https://raw.githubusercontent.com/JuliusBrussee/caveman/main/install.sh | bash fails with ENOENT when copying opencode command files.
Error
opencode install failed: ENOENT: no such file or directory, copyfile
'.../caveman-installer/src/plugins/opencode/commands/caveman-compress.md'
-> '~/.config/opencode/commands/caveman-compress.md'
Root cause
The OPENCODE_COMMAND_FILES array in bin/install.js (line 467) includes caveman-compress.md, but this file does not exist in the repository at src/plugins/opencode/commands/.
Existing files in that directory:
- caveman.md
- caveman-commit.md
- caveman-review.md
- caveman-stats.md
- caveman-help.md
Note that skills/caveman-compress/ directory does exist, only the command file is missing. It was likely either:
- The command file was never created for this skill
- The file was renamed but the array was not updated
Impact
The entire opencode install path aborts on this error, leaving all other opencode commands (caveman.md, caveman-commit.md, caveman-review.md) partially installed.
Suggestion
Either add the missing caveman-compress.md to src/plugins/opencode/commands/, or remove it from OPENCODE_COMMAND_FILES and OPENCODE_SKILL_DIRS if the compress feature is not yet ready.
Description
Installing via
curl -fsSL https://raw.githubusercontent.com/JuliusBrussee/caveman/main/install.sh | bashfails withENOENTwhen copying opencode command files.Error
Root cause
The
OPENCODE_COMMAND_FILESarray inbin/install.js(line 467) includescaveman-compress.md, but this file does not exist in the repository atsrc/plugins/opencode/commands/.Existing files in that directory:
Note that
skills/caveman-compress/directory does exist, only the command file is missing. It was likely either:Impact
The entire opencode install path aborts on this error, leaving all other opencode commands (caveman.md, caveman-commit.md, caveman-review.md) partially installed.
Suggestion
Either add the missing
caveman-compress.mdtosrc/plugins/opencode/commands/, or remove it fromOPENCODE_COMMAND_FILESandOPENCODE_SKILL_DIRSif the compress feature is not yet ready.