We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
bunx
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
I use bunx repomix regularly on my Windows computer, but when trying it on my Mac (Apple Silicon M4 chip), I receive an error:
bunx repomix
🫀 ➜ bunx repomix --verbose directories: [ '.' ] cwd: /Users/lance/Programming/project-folder options: { fileSummary: true, directoryStructure: true, files: true, gitSortByChanges: true, gitignore: true, defaultPatterns: true, securityCheck: true, verbose: true } 📦 Repomix v0.3.6 Loaded CLI options: { fileSummary: true, directoryStructure: true, files: true, gitSortByChanges: true, gitignore: true, defaultPatterns: true, securityCheck: true, verbose: true } No Repopack files found to migrate. Loading local config from: /Users/lance/Programming/project-folder/repomix.config.json Loading global config from: /Users/lance/.config/repomix/repomix.config.json No custom config found at repomix.config.json or global config at /Users/lance/.config/repomix/repomix.config.json. You can add a config file for additional settings. Please check https://github.com/yamadashy/repomix for more information. Loaded file config: {} CLI config: {} Default config: { input: { maxFileSize: 52428800 }, output: { filePath: 'repomix-output.xml', style: 'xml', parsableStyle: false, fileSummary: true, directoryStructure: true, files: true, removeComments: false, removeEmptyLines: false, compress: false, topFilesLength: 5, showLineNumbers: false, copyToClipboard: false, git: { sortByChanges: true, sortByChangesMaxCommits: 100, includeDiffs: false } }, include: [], ignore: { useGitignore: true, useDefaultPatterns: true, customPatterns: [] }, security: { enableSecurityCheck: true }, tokenCount: { encoding: 'o200k_base' } } Default output file path is set to: repomix-output.xml Merged config: { input: { maxFileSize: 52428800 }, output: { filePath: 'repomix-output.xml', style: 'xml', parsableStyle: false, fileSummary: true, directoryStructure: true, files: true, removeComments: false, removeEmptyLines: false, compress: false, topFilesLength: 5, showLineNumbers: false, copyToClipboard: false, git: { sortByChanges: true, sortByChangesMaxCommits: 100, includeDiffs: false } }, include: [], ignore: { useGitignore: true, useDefaultPatterns: true, customPatterns: [] }, security: { enableSecurityCheck: true }, tokenCount: { encoding: 'o200k_base' }, cwd: '/Users/lance/Programming/project-folder' } Adding default ignore patterns Adding output file to ignore patterns: repomix-output.xml Adding custom ignore patterns: [] Include patterns: [ '**/*' ] Ignore patterns: [ '.git/**', '.hg/**', '.hgignore', '.svn/**', '**/node_modules/**', '**/bower_components/**', '**/jspm_packages/**', 'vendor/**', '**/.bundle/**', '**/.gradle/**', 'target/**', 'logs/**', '**/*.log/**', '**/npm-debug.log*/**', '**/yarn-debug.log*/**', '**/yarn-error.log*/**', 'pids/**', '*.pid', '*.seed', '*.pid.lock', 'lib-cov/**', 'coverage/**', '.nyc_output/**', '.grunt/**', '.lock-wscript', 'build/Release/**', 'typings/**', '**/.npm/**', '.eslintcache', '.rollup.cache/**', '.webpack.cache/**', '.parcel-cache/**', '.sass-cache/**', '*.cache', '.node_repl_history', '*.tgz', '**/.yarn/**', '**/.yarn-integrity/**', '.env', '.next/**', '.nuxt/**', '.vuepress/dist/**', '.serverless/**', '.fusebox/**', '.dynamodb/**', 'dist/**', '**/.DS_Store/**', '**/Thumbs.db/**', '.idea/**', '.vscode/**', '**/*.swp/**', '**/*.swo/**', '**/*.swn/**', '**/*.bak/**', 'build/**', 'out/**', 'tmp/**', 'temp/**', '**/repomix-output.*/**', '**/repopack-output.*/**', '**/package-lock.json/**', '**/yarn-error.log/**', '**/yarn.lock/**', '**/pnpm-lock.yaml/**', '**/bun.lockb/**', '**/bun.lock/**', '**/__pycache__/**', '**/*.py[cod]/**', '**/venv/**', '**/.venv/**', '**/.pytest_cache/**', '**/.mypy_cache/**', '**/.ipynb_checkpoints/**', '**/Pipfile.lock/**', '**/poetry.lock/**', '**/uv.lock/**', '**/Cargo.lock/**', '**/Cargo.toml.orig/**', '**/target/**', '**/*.rs.bk/**', '**/composer.lock/**', '**/Gemfile.lock/**', '**/go.sum/**', '**/mix.lock/**', '**/stack.yaml.lock/**', '**/cabal.project.freeze/**', 'repomix-output.xml' ] Ignore file patterns: [ '**/.gitignore', '**/.repomixignore' ] Filtered 141 files Initializing worker pool with min=1, max=2 threads. Worker path: file:///Users/lance/.bun/install/global/node_modules/repomix/lib/core/file/workers/fileCollectWorker.js ✖ Unexpected error: Not implemented Stack trace: Error: Not implemented at unknown at new ThreadPool (/Users/lance/.bun/install/global/node_modules/piscina/dist/index.js:95:50) at new Piscina (/Users/lance/.bun/install/global/node_modules/piscina/dist/index.js:570:57) at initPiscina (/Users/lance/.bun/install/global/node_modules/repomix/lib/shared/processConcurrency.js:20:16) at initTaskRunner (/Users/lance/.bun/install/global/node_modules/repomix/lib/core/file/fileCollect.js:14:18) at <anonymous> (/Users/lance/.bun/install/global/node_modules/repomix/lib/core/file/fileCollect.js:20:26) at <anonymous> (/Users/lance/.bun/install/global/node_modules/repomix/lib/core/file/fileCollect.js:7:71) at new Promise (native:1:11) at __awaiter (/Users/lance/.bun/install/global/node_modules/repomix/lib/core/file/fileCollect.js:3:27) at map (native:1:11) Need help? • File an issue on GitHub: https://github.com/yamadashy/repomix/issues • Join our Discord community: https://discord.gg/wNYzTwZFku
I was able to pack successfully using a Docker container as a workaround:
docker run -v .:/app -it --rm ghcr.io/yamadashy/repomix
I am using Bun version 1.2.14 (latest at the time of writing).
1.2.14
Sorry if you're not intending to support Bun. I have just gotten used to using it as a replacement and wasn't sure if you'd seen this bug before.
Repomix CLI
v0.3.6
N/A
The text was updated successfully, but these errors were encountered:
Hi, @lancegoyke Thank you for the report!
I tried packing Repomix itself with bunx and it seems to work:
Environment:
bun 1.1.39 Apple M2 Pro macOS Sonoma 14.4.1
I’ll dig into this further. Since the error is coming from Piscina (the parallel‐processing library), it may be something environment‐specific.
Sorry, something went wrong.
Cheers! Thanks for your acknowledgement. I'm a bit out of my scope here, but let me know if you think I can help test something in the future.
No branches or pull requests
Description
I use
bunx repomix
regularly on my Windows computer, but when trying it on my Mac (Apple Silicon M4 chip), I receive an error:I was able to pack successfully using a Docker container as a workaround:
I am using Bun version
1.2.14
(latest at the time of writing).Sorry if you're not intending to support Bun. I have just gotten used to using it as a replacement and wasn't sure if you'd seen this bug before.
Usage Context
Repomix CLI
Repomix Version
v0.3.6
Node.js Version
N/A
The text was updated successfully, but these errors were encountered: