codex-multi-auth icon indicating copy to clipboard operation
codex-multi-auth copied to clipboard

[bug] fresh install on mac

Open odeke opened this issue 7 months ago • 5 comments

Summary

I failed to install codex-multi-auth, coz i have codex installed already using homebrew

Reproduction

  1. have codex installed on mac already via homebrew
  2. npm i -g codex-multi-auth
  3. error happens

Expected Behavior

install codex-multi auth even if i have codex installed.

Actual Behavior

throws error that codex exists.

Environment

mac

Diagnostic Outputs

npm i -g codex-multi-auth npm error code EEXIST npm error path /opt/homebrew/bin/codex npm error EEXIST: file already exists npm error File exists: /opt/homebrew/bin/codex npm error Remove the existing file and try again, or run npm npm error with --force to overwrite files recklessly. npm error A complete log of this run can be found in: /Users/

Compliance Confirmation

  • [ x] I am using this project for personal development workflows.
  • [ x] This report does not request policy bypasses or prohibited usage.
  • [x ] I removed any secrets/tokens from this report.

odeke avatar Apr 30 '26 08:04 odeke

[!CAUTION] CodeRabbit could not initialize plan tracking. Please try again later.

coderabbitai[bot] avatar Apr 30 '26 08:04 coderabbitai[bot]

I've updated the plan above based on your feedback. Ready to proceed when you are!

coderabbitai[bot] avatar Apr 30 '26 08:04 coderabbitai[bot]

will fix in a moment, thank you for reporting this bug. :)

ndycode avatar Apr 30 '26 09:04 ndycode

Published this fix in v2.1.2: https://github.com/ndycode/codex-multi-auth/releases/tag/v2.1.2

Can you try installing \[email protected]\ and let me know if it resolves the fresh install/bin collision on your machine?

ndycode avatar Apr 30 '26 10:04 ndycode

Its working well on mac now. Thanks a lot!

odeke avatar Jun 13 '26 23:06 odeke