-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
Program breaks while using gitmoji -c
#324
Comments
Same behavior. Gitmoji: both v3.2.0 and v3.2.1.
Probably not related, but I started to have this issue after replacing https://github.com/nvm-sh/nvm with http://npm.im/n. Gitmoji v3.1.0 works fine tho. |
This must be related by #303 @adriencaccia. I'll try to take a look at this |
I'm experiencing the same behavior: ❯ gitmoji -v
3.2.1
❯ node -v
v13.9.0 (note: I'm using Error with ❯ gitmoji -s bug
query bug
Error: Total of weights cannot exceed 1
at e.value (/home/yupswing/.nodenv/versions/13.9.0/lib/node_modules/gitmoji-cli/node_modules/fuse.js/dist/fuse.js:9:3409) |
Same happens to me, ill try to find something in the commit @carloscuesta mentioned |
I tried gitmoji 3.2.0, gives the same error. 3.1.0 is fine, so the error has to be from PR #267 |
I think i almost got it, when the error prompts in cmd, we can see this 2 lines: at filterGitmojis (/home/andres/.nvm/versions/node/v12.16.1/lib/node_modules/gitmoji-cli/lib/utils/filterGitmojis.js:24:16)
at Object.source (/home/andres/.nvm/versions/node/v12.16.1/lib/node_modules/gitmoji-cli/lib/commands/commit/prompts.js:27:56) So the error might be coming from filterGitmojis.js, or prompts.js. |
Fixed at 3.2.2 Thanks 🎉 |
Hello @carloscuesta!
Issue:
Exit 1 while using
gitmoji -c
Please find the attachment given below.
OS:
gitmoji-cli -v: 3.2.1
Node version: v12.13.1
Error Message:
The text was updated successfully, but these errors were encountered: