-
Notifications
You must be signed in to change notification settings - Fork 76
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
can't use git cz #35
Comments
I'm having the same error. Until someone fixes it, installing the |
Having the same issue. Would be awesome if this is tackled soon |
Seeing the same problem. This was working on macOS Mojave. Problem appeared after upgrade to Catalina. I'm running both commitizen and cz-emoji as global installs. Out of curiosity I added |
Same here |
Hey guys, I'm not exactly sure what is causing this error but I've made a couple of changes on Could you give it a try by changing your -"cz-emoji": "1.2.1"
+"cz-emoji": "ngryman/cz-emoji#master" If it resolves your issue, I'll release a new version. Thanks! |
Thanks @ngryman. It seems to be working for me. |
I'm having the same issue after upgrading to
|
@wujekbogdan Thanks for the catch! |
macos catalina
npm 6.13.7
node 13.11.0
(node:6997) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:120:11)
at Object.dirname (path.js:1128:5)
at /Users/zhao/.nvm/versions/node/v13.11.0/lib/node_modules/cz-emoji/index.js:45:55
at async loadConfig (/Users/zhao/.nvm/versions/node/v13.11.0/lib/node_modules/cz-emoji/index.js:50:31)
(node:6997) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)(node:6997) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The text was updated successfully, but these errors were encountered: