Skip to content

meow throws TypeError with Node.js 22, 24, and 25 (installed via Homebrew) #148

@a-magdy

Description

@a-magdy

Description

Running the CLI throws a TypeError from the meow dependency on multiple Node.js versions installed via Homebrew (22, 24, and 25). The error occurs with both npx and a global install.

Error

file:///Users/.../@stoe/action-reporting-cli/node_modules/meow/build/options.js:15
                throw new TypeError('The `input` option must be a string or an object.');
                      ^

TypeError: The `input` option must be a string or an object.
    at validateOptions (…/meow/build/options.js:15:9)
    at buildOptions (…/meow/build/options.js:131:2)
    at meow (…/meow/build/index.js:176:24)
    at …/@stoe/action-reporting-cli/cli.js:190:13

Steps to reproduce

  1. Install Node.js via Homebrew (brew install node@22, node@24, or node@25)
  2. Run via npx:
    npx @stoe/action-reporting-cli --owner '<org>' --all --json file.json
    
    Or install globally and run:
    npm install -g @stoe/action-reporting-cli
    action-reporting-cli --owner '<org>' --all --json file.json
    

Both approaches produce the same error.

Environment

  • Machine: Apple Silicon Mac (macOS, ARM64)
  • Node.js versions tested: 22, 24, 25 (all installed via Homebrew)
  • Install methods tried: npx and npm install -g

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions