Skip to content

[Bug] ENOENT: codemie-statusline.mjs not found on Windows - filename mismatch in package #335

Description

@MrZeptor

Prerequisites

  • I have searched existing issues to avoid duplicates
  • I am using the latest version of CodeMie CLI
  • I have read the documentation

Bug Description

Running codemie-claude fails with an ENOENT error because the CLI expects a file named
codemie-statusline.mjs, but the package only bundles statusline.mjs.

Steps to Reproduce

  1. Install the package globally:
    npm install -g @codemieai/code@latest --registry https://registry.npmjs.org
  2. Run codemie-claude

Expected Behavior

Claude Code starts successfully.

Actual Behavior

✗ Failed to run Claude Code

ENOENT: no such file or directory, open 'C:\Users<username>\AppData\Local\nvm\v24.10.0\node_modules@codemieai\code\dist\agents\plugins\claude\plugin\codemie-statusline.mjs'

CodeMie CLI Version

0.3.2

Which agent are you using?

Claude Code (codemie-claude)

Which provider are you using?

AI/Run SSO

Model

No response

Node.js Version

v24.10.0

Operating System

Windows (native)

Configuration (Redacted)

Error Logs

Additional Context

Root Cause

Filename mismatch in the published package:

Path
Expected by CLI dist/agents/plugins/claude/plugin/codemie-statusline.mjs
Actually bundled dist/agents/plugins/claude/plugin/statusline.mjs

Workaround

Manually copying the existing file with the expected name resolves the issue:

copy "...\claude\plugin\statusline.mjs" "...\claude\plugin\codemie-statusline.mjs"

Suggested Fix

Either:

  • Rename statusline.mjscodemie-statusline.mjs in the package bundle, or
  • Update the CLI code to reference statusline.mjs instead of codemie-statusline.mjs

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