Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Fatal Error when running on MacOS #193

Open
Malaeu opened this issue Dec 6, 2024 · 1 comment
Open

Bug: Fatal Error when running on MacOS #193

Malaeu opened this issue Dec 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Malaeu
Copy link

Malaeu commented Dec 6, 2024

Environment:

  • OS: MacOS
  • Node: v22.12.0
  • NPM: v10.9.0

Error:
spawnSync sysctl ENOENT

The package tries to load Windows-specific code (clipboardy/lib/windows.js) on MacOS, causing fatal error. This happens both with global npm install and npx.

Steps to reproduce:

  1. npm install -g repomix or npx repomix
  2. Run repomix --version
@yamadashy
Copy link
Owner

Hi, @Malaeu !
Thank you for reporting this issue!

I tried reproducing with the exact same environment (MacOS, Node v22.12.0, NPM v10.9.0) but couldn't replicate the error. To help track this down, could you share:

  1. Your MacOS version (Apple menu > About This Mac)
  2. The complete error stack trace

This will help us identify and fix the root cause. Thanks for helping improve Repomix!

@yamadashy yamadashy added the bug Something isn't working label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants