-
Notifications
You must be signed in to change notification settings - Fork 9
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
Empty co-authors panel / Cannot read property 'email' of undefined #25
Comments
@chakeresa Thanks for reporting the issue.
|
Yep, I did get an error when I ran
Running those (with my own GitHub details) solved the issue. 🎉 For others that may run into the same issue in the future, I'd recommend adding that to the "Setup" section of the extension details. Thanks @rkotze! |
@chakeresa glad you solved it. I'll update the setup section. Just wondering, did you reinstall git? |
Nope, I’ve been using git on this laptop without any changes since before it randomly stopped working. I’d actually tried installing the extension on a different laptop months ago and uninstalled it almost immediately there because the panel was showing up blank there too. |
Thanks for the feedback. I would be interested in why Git Mob extension failed to install on the other laptop. I would like to reduce the frustrations of setup and get people started quicker. In terms of this issue you created, I've added another issue #27. I don't think the extension should break cause there is no primary author, I would like to make that more obvious on what to do in the UI. |
It installed fine on the other laptop -- it just wasn't working as expected (also had the blank panel), so I removed it. |
Ah sorry, I mean what caused it to show a blank panel. Do you think its a similar issue as you had with the primary author not being set? No worries if you're not sure why. :) |
I’m not sure. I just reinstalled the extension on that laptop and it worked
fine this time. So did the git mob command. No idea what changed over the
last few months.
|
Prerequisites
npm i -g git-mob
)brew upgrade git
if installed with Homebrew/Linuxbrew)Description
The
GIT MOB CO-AUTHORS
box in the git panel of VS Code is completely empty, and I get the following error whenever I click the commit message field or run the other git mob commands (likeGit Mob: Add co-author
):Cannot read property 'email' of undefined
Steps to Reproduce
.git-coauthors
file looks like this (but the same happens when I makecoauthors
an empty object):Git Mob: Add co-author
)Expected behaviour: I should see a list of project coauthors in the
GIT MOB CO-AUTHORS
box on the git panel of VS Code. I should be able to select co-authors, remove co-authors, etc.Actual behaviour: The
GIT MOB CO-AUTHORS
box is completely empty and I get aCannot read property 'email' of undefined
error when editing my commit message or running any git mob commands.Reproduces how often: 100% (for the last week or two... it was working well before that)
Versions
git-mob --version
): 1.0.1git --version
): 2.20.1 (Apple Git-117)Additional Information
The text was updated successfully, but these errors were encountered: