-
Hi 👋, I'm running into an issue when using czg installed via Homebrew. Problem bash bash swift
Question Alternatively, is there a way to "inject" cz-git into the Homebrew-installed czg environment, or should I uninstall the Homebrew version and use npm install -g czg cz-git instead? System Info czg@1.11.1 (installed via Homebrew) cz-git@latest (installed via npm install -g) Thanks in advance! Let me know if more context is needed. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
czg
. It is a standalone CLI and does not require any other dependencies (like cz-git).cz-git
module, it is because it cannot locate thecz-git
module in your{current_dir}/node_modules
.The reason for issue is that you are using a module (cz-git) exported type-help function in your configuration. You just need to remove it (type-helper function is provide to project configure):
BTW, in my opinion, global configuration doesn’t require highly dynamic customization (JavaScript-based configuration). Generally, using a JSON configuration in
.czrc
is sufficient.